ensure against trailing shortcodes in visual editor

This commit is contained in:
Shawn Erquhart 2017-10-04 12:53:13 -04:00 committed by Benaiah Mischenko
parent d8a7608a25
commit 852b6f397c

View File

@ -73,6 +73,6 @@ const codeBlocksContainPlainText = {
},
};
const rules = [ enforceNeverEmpty, shortcodesAtRoot, codeBlocksContainPlainText ];
const rules = [ enforceNeverEmpty, shortcodesAtRoot, noTrailingShortcodes, codeBlocksContainPlainText ];
export default rules;