forked from zicloud/bigscreen_admin
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
363 B
JavaScript
21 lines
363 B
JavaScript
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
|