ensure against trailing shortcodes in visual editor
This commit is contained in:
parent
d8a7608a25
commit
852b6f397c
@ -73,6 +73,6 @@ const codeBlocksContainPlainText = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const rules = [ enforceNeverEmpty, shortcodesAtRoot, codeBlocksContainPlainText ];
|
const rules = [ enforceNeverEmpty, shortcodesAtRoot, noTrailingShortcodes, codeBlocksContainPlainText ];
|
||||||
|
|
||||||
export default rules;
|
export default rules;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user