seonim-ryu / squire Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sohee-lee7/squire
HTML5 rich text editor. Try the demo integration at
Home Page: http://neilj.github.io/Squire/
License: MIT License
This project forked from sohee-lee7/squire
HTML5 rich text editor. Try the demo integration at
Home Page: http://neilj.github.io/Squire/
License: MIT License
When processing a line break, it judges the front and back elements based on the <br>
tag. If there is only the <img />
tag, it determines that there is no next element. So, if there is only the <img />
tag after the last <br>
tag, line break does not work normally.
When invoke element.focus()
, scroll position moves to the focused element in IE.
related issue: nhn/tui.editor#569
https://stackoverflow.com/questions/40901431/ie11-focusing-child-div-causes-parent-to-scroll-to-top
If a block element is not included in the whitelist, do not render the element.
The whitelist is as follows:
Line 182 in fb6cd9b
If you want to add special block elements such as details
and summary
, this is not possible at this time. The option to add allowed block elements is required.
const editor = new Squire(node, {
// ...
allowedBlocks: ['details']
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.