ace editor, markdown editor
This commit is contained in:
@ -14,6 +14,7 @@ define("tinymce/ForceBlocks", [], function() {
|
||||
var schema = editor.schema, blockElements = schema.getBlockElements();
|
||||
|
||||
function addRootBlocks() {
|
||||
|
||||
var node = selection.getStart(), rootNode = editor.getBody(), rng;
|
||||
var startContainer, startOffset, endContainer, endOffset, rootBlockNode;
|
||||
var tempNode, offset = -0xFFFFFF, wrapped, restoreSelection;
|
||||
|
Reference in New Issue
Block a user