- Affected version
- 2.1.7
My JS handler when insterting HTML into editor:
After replacement, this bug occurs:
I render the posted BBCode as follows:
JavaScript:
if (data.htmlText) {
this.editor.ed.undo.saveStep();
XF.replaceEditorContent(this.$form, data.htmlText);
this.editor.ed.undo.saveStep();
this.editor.focus();
}
After replacement, this bug occurs:
Fixed - Applying unordered list don't really behave properly
I copied the following raw text in the editor and only that: Corrected bugs: Phrase xfa_dedf_params missing in changelog Wrong font selected in default editor font selection list after save ErrorException: Undefined index: font -...
xenforo.com
I render the posted BBCode as follows:
PHP:
$htmlText = \XF::app()->bbCode()->render();