M MilkyMeda Active member Jan 27, 2020 #1 Affected version 2.1.6 I think these methods should be aware of the undo/redo functionality in the editor.
Chris D XenForo developer Staff member Jan 27, 2020 #2 This is really more of a suggestion. In the places those functions are used, they are really just designed to take care of inserting the content and nothing else. The expectation really is to push to the undo stack when you need to. That can be done with: JavaScript: ed.undo.saveState();
This is really more of a suggestion. In the places those functions are used, they are really just designed to take care of inserting the content and nothing else. The expectation really is to push to the undo stack when you need to. That can be done with: JavaScript: ed.undo.saveState();