Needs work
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2013 at 15:46 UTC
Updated:
9 Dec 2015 at 18:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
k0teg commentedHere is a workaround for this issue.
Comment #2
artemln commentedWhen use this patch switching the text formats does not work. Because the CKEditor does not remove old HTML.
I have attached a new patch.
Comment #3
damienmckennaThis would be good to confirm & fix for the next release.
Comment #4
mediaformat commentedRan it on simplytest.me, using chrome.
Here is the console log :
Comment #5
nagy.balint commentedI have the same issue, but for me the workaround does not work.
Comment #6
nagy.balint commentedLikely the issue is that the "
$(document).trigger('CToolsDetachBehaviors', $('#modalContent'));" Is not triggered when the cancel button is pressed so ckeditor will not call its detach function.Comment #7
nagy.balint commentedAnd the patch here solves my problem #2497645: CToolsDetachBehaviors is not called on modal when another modal is opened on the same page
Comment #8
recrit commentedPatch at #2 worked for me when switching formats of a text field within an embedded paragraph.
EDIT: This removed the js errors, but now when switching between formats it will create a new editor after each switch, stacking them on top of each other.