Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
editor.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
4 Oct 2015 at 19:15 UTC
Updated:
30 Oct 2015 at 14:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
attiks commentedPatch containing the changes to ckeditor
Comment #3
attiks commentedIf this gets committed, please credit Jelle_S as well
Comment #4
webchickAdding the nod_ summoning tag.
Comment #5
attiks commentedDiscussed with Jelle_S, we will change the allowedContent as well so it uses the object notation
Comment #6
jelle_sComment #7
jelle_sNew patch with the allowedContent converted to
CKEDITOR.style.Comment #10
jelle_sComment #11
attiks commentedThis is working and much easier for conyrib to change it, marked as RTBC and assigned to nod_ for final go
Comment #12
nod_missing
new CKEDITOR.style()?Other than that, ok with me.
Comment #13
jelle_sI think this should fix the remarks in #12.
Comment #14
nod_Would be better to rename the second iteration variable, that would solve the var eslint errors.
Comment #15
nod_(duplicate)
Comment #16
jelle_sNew patch, got no eslint errors here.
EDIT: also removed a
.trim()since the.split()regexp already takes care of that.Comment #17
nod_good to go.
Comment #18
wim leersThis is plain wrong. You can totally alter the image form. Because it's a form like any other.
What is missing, is the ability for any additional (custom) attributes that those form alterations may add, to persist on the images. Which means this is JS land, and we cannot write test coverage for this (removing the
Needs teststag because of that).I very much support this, but it should be manually tested. Given that @nod_ RTBC'd it, I'm assuming he did the necessary testing.
Comment #19
wim leersComment #20
attiks commented#18 Sorry for the wrong wording
Comment #21
wim leers#20: np np :) I feel very strongly about unambiguously wording things, I know many people don't feel that strongly about that.
Many thanks for doing this!
Comment #22
webchickThis seems like a very sensible "simplest thing that can possibly work" in 8.0.0 so we can make this whole are shine more in 8.1.x. Great work.
Committed and pushed to 8.0.x. Thanks!
Comment #24
duaelfrThat fix had side effects: it unlikely fixed #2578957: (regression) "Open in new window" checkbox does not work anymore
Comment #25
wim leersThis caused a nasty regression: #2585173: [regression] "Allowed HTML tags" setting corrupted upon accessing Text Format configuration UI. Seems like @nod_ did not do the necessary manual testing :(
Comment #26
jelle_sFYI: Just uploaded a patch over at #2585173: [regression] "Allowed HTML tags" setting corrupted upon accessing Text Format configuration UI. Should fix the issue.
Comment #27
berdirI'm getting strange JS errors after this:
Uncaught TypeError: Cannot set property 'float' of undefined
Looks like styles is not initialized, but I have no idea what's different in my case that it only happens for me?
This for example happens when switching from an text format without drupalimage to one that has it enabled and completely breaks wysiwyg then.
The following fixes it for me, I can open a follow-up tomorrow, but I don't know enough JS to know if the problem is really somewhere else?
Comment #28
attiks commentedFixed in #2589779: Uncaught TypeError: Cannot set property 'float' of undefined when switching text formats
Comment #30
wim leersAnother regression: #2598070: [regression] CKEditor Link button does not show if HTML filtering is enabled.