first commit
This commit is contained in:
21
public/assets/quill/blots/break.js
Normal file
21
public/assets/quill/blots/break.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import { EmbedBlot } from 'parchment';
|
||||
class Break extends EmbedBlot {
|
||||
static value() {
|
||||
return undefined;
|
||||
}
|
||||
optimize() {
|
||||
if (this.prev || this.next) {
|
||||
this.remove();
|
||||
}
|
||||
}
|
||||
length() {
|
||||
return 0;
|
||||
}
|
||||
value() {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
Break.blotName = 'break';
|
||||
Break.tagName = 'BR';
|
||||
export default Break;
|
||||
//# sourceMappingURL=break.js.map
|
||||
Reference in New Issue
Block a user