Sha256: f1ce1469cb25ad2e8c6d94d7b720a4298442b94907bcb8a4af74540b875178fe
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 Bytes
Contents
import Parchment from 'parchment'; class Break extends Parchment.Embed { static value() { return undefined; } insertInto(parent, ref) { if (parent.children.length === 0) { super.insertInto(parent, ref); } else { this.remove(); } } length() { return 0; } value() { return ''; } } Break.blotName = 'break'; Break.tagName = 'BR'; export default Break;
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_modular_admin-1.0.0 | app/assets/node_modules/quill/blots/break.js |
rails_modular_admin-0.4.0 | app/assets/node_modules/quill/blots/break.js |