content collector should also register the blocks, no idea why this wasnt in before
This commit is contained in:
parent
b6e7ddf874
commit
8fbd7d83b6
|
@ -87,6 +87,10 @@ function makeContentCollector(collectStyles, abrowser, apool, domInterface, clas
|
|||
"li": 1
|
||||
};
|
||||
|
||||
_.each(hooks.callAll('aceRegisterBlockElements'), function(element){
|
||||
_blockElems[element] = 1;
|
||||
});
|
||||
|
||||
function isBlockElement(n)
|
||||
{
|
||||
return !!_blockElems[(dom.nodeTagName(n) || "").toLowerCase()];
|
||||
|
|
Loading…
Reference in New Issue