-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CKEditor toolbar: Cannot save the flag button ("Anchor") position in the toolbar. #1231
Comments
Thanks @Graham-72. I was able to reproduce the issue described here. It looks like only this flag button ("Anchor") exhibits the problem that it cannot be saved. Is that what you are experiencing as well? |
Yes, confirmed. I have just done a test by trying to move all the buttons and only the flag button refused to stay in its new position. So it is a minor issue. |
Should this be added to meta issue #1087 ? |
I would say so. |
My comment at #1542 was wrong : the anchor buttons shows on my test site, but it is using a "free" custom build (v4.5.5) from CKSource (I need the 4.5 drag&drop API).
You can see it live at http://p1347.phpnet.org/backdrop/l/3rgz8UIEd0Vd/node/24/edit and note the original CKEditor buttons are colored, while the backdrop specific buttons are monochrome.
Is backdrop stuck with the 4.4 version of the "image2" plugin ? |
Wrong again ! |
Done 😉 |
I just found the reason of the original question : The filter module consider that the "id" attribute is invalid for an "a" tag. I could not find the exact location where those rules are defined - this is odd, because id is allowed for a link, while name is not (in HTML5). Anyway, removing the 'id' attribute in the "Anchor" definution array solves this problem. which is pretty useless, as there is currently no plugin to handle anchors, as I stated above... |
This is still an issue on 1.5.x-dev, even after the recent update of the CKEditor to 4.5.x |
Since I don't like this bug being in Backdrop, the easiest solution is to remove the feature that does not work. cries Longer term, we will need to add our own version of the Anchor plugin that is not part of the link plugin. Likely as a part of #1777. |
Yeah... a sad conclusion but I think you're right @jenlampton. This button doesn't do anything because there is no code backing it up. Adding anchor tag support is not trivial so we should remove the broken button from the UI. I've merged backdrop/backdrop#1552 into 1.x and 1.4.x. I'm not sure if this is part of the Advanced Link functionality in #1777 or not. I know it's bitter to close an issue when the underlying request (fix the anchor button) hasn't been resolved. But let's close this "bug" and open a new feature request, either as part of #1777 or a new one entirely. |
Ref #1087
I find I cannot save a change in a toolbar.
PR from @jenlampton at backdrop/backdrop#1552
The text was updated successfully, but these errors were encountered: