-
Notifications
You must be signed in to change notification settings - Fork 2
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
Page with glossary term loses content upon opening in edit mode #29
Comments
@dgroos thanks for reporting this; do you mind describing step-by-step what we need to do to reproduce the problem? |
@hvelarde sorry took so long to get back to this--first free moment I've had...
Is there more info that I could provide? |
@dgroos I just fixed an issue with the JS code that was breaking the site (5b2ceb1); after that I was able to reproduce the issue in Plone 5 and seems to me like a bug there. as you can see in the code used to register the JS, it should only load in certain states; that is, we do not load the glossarizer in the edit view, but that is not working on Plone 5. I opened an issue there (plone/Products.CMFPlone#1821) but I think is going to be difficult to fix and I see no interest on keep working on that now that was decided to deprecate the legacy bundle on Plone 5.1. sorry, but we have no time/resources to fix this as we are not using this package with Plone 5; if you can help, let me know. |
@hvelarde Thanks for looking into this. Makes sense not to fix plone bug if that aspect is soon to be deprecated as Plone moves onto 5.1 but is unfortunate. The kind of support I could give at this time would be testing or writing some documentation, neither of which will fix this bug or move the code further. However, let me know if this would be helpful at some point. Thanks for picking up and carrying this project forward. |
As described here: https://community.plone.org/t/page-content-disappears-upon-opening-in-edit-mode/2775
the content of a page containing a term in the glossary 'disappears' when opening the page in edit mode. An example of the offending tag/content is:
<abbr class="glossarizer_replaced" title="better than the rest"><abbr class="glossarizer_replaced">best</abbr></abbr>
I was able to reproduce this by copying and pasting this on a fresh plone 5.0.5 page, also by creating a fresh plone page, then adding a term from the glossary.
The text was updated successfully, but these errors were encountered: