-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Brynn,
what you are trying here is to use a plugin link twice, with two different texts. This cannot work, as only one text can be saved for each plugin in the database. Don't ever copy plugin links, make a new one.
Bugs occur when you try to change the text on an existing link. This does not always work :( Only way to change a plugin link *reliably* to what you want it to be, is to unlink, and then relink. Else you get all kinds or weird results, like duplicates, non-changed contents and whatnot.
Until now I've been too lazy to scan the bug reports on github for this, but I guess now I won't get around it... There it is: https://github.com/divio/djangocms-text-ckeditor/issues/220
Styling: No bug report necessary, I think. Hinerangi and Mathew plan to make a new CSS, and you will have opportunity for feedback.
Regards, Maren
Am 28.01.2015 um 02:29 schrieb Brynn:
Hi Maren and Martin, I'm not sure if I've found a bug, or if this is just another
annoying thing about using the link plugin.
Since Maren said I should not copy over the source from the
staging page (so I don't have to make new links), I tried to use the non-source part of the editor. In a few places there are 2 links to the same page. But if I use the same the text link, and simply change the text by typing, then after the page is saved and published, even though the text appears to be correct in the editor, it reverts to the original text when saved/published.
Steps to reproduce:
1 -- Open any page (with links made by plugin) to edit, such as
Contribute.
2 -- Copy a text link, such as "Open Source" in the first sentence. 3 -- Paste it somewhere else on the page, like the end of that same
paragraph.
4 -- Change the text "Open Source" to "click here". 5 -- Looks fine in the editor, but after saving and publishing, it
changes back to "Open Source".
I'm not sure if it happens during the save or the publish. I
didn't notice until after the publish, but it probably happened during the save.
The solution I found was to make a brand new link. To my
understanding, it sounds like that makes a new....maybe it's like a new row or item in a database, or something like that. But anyway it sounds like it must be duplicating something.
Also, different topic. What do I need to do to get the format
changes going, with the indents, and different heading styles? Bug report?
Thanks again, brynn