-
Notifications
You must be signed in to change notification settings - Fork 5
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
IBX-3988: RichText formatting options not stored for Numbered List and Bulleted List #64
Conversation
I discussed this briefly with Andrew today. I tried to replace all the |
FYI : Failing solr tests cannot be my doing .... |
src/bundle/Resources/richtext/stylesheets/docbook/xhtml5/edit/core.xsl
Outdated
Show resolved
Hide resolved
src/bundle/Resources/richtext/stylesheets/xhtml5/edit/docbook.xsl
Outdated
Show resolved
Hide resolved
tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/edit/037-orderedListFormatted.xml
Outdated
Show resolved
Hide resolved
Unfortunately, there is no simple way to remove this one list (CKEditor doesn't provide a configuration for that). It would require overriding the whole numberedList component. |
That is really pity. So, for now I have added support for |
tests/lib/RichText/Converter/Xslt/_fixtures/xhtml5/output/037-orderedListFormatted.xml
Outdated
Show resolved
Hide resolved
e825264
to
4f65dd0
Compare
@vidarl CI is failing here |
FYI : As a test I just reverted all my changes and CI is still failing with same errors.. https://github.com/ibexa/fieldtype-richtext/actions/runs/4084236089/jobs/7040701035 |
fe983a9
to
4f65dd0
Compare
Kudos, SonarCloud Quality Gate passed!
|
Thank you @vidarl 🎉 |
@vidarl we have a bug on main branch. This is weird because on v4.3.2 (with .diff) and on v4.3.x-dev this bug does not exist. As you can see on the gif, selected 'Bulleted List' option on create and edit form is not correct. Tested on clean installation of commerce 4.4.x-dev P.S. |
So, you only have problems with commerce ? or on any 4.4 ? So it could be that commerce behaves like this both with and without this patch maybe ? |
I will check it on Exp and Content versions as well as on v4.3.2 commerce (without the patch). Will get back to you with informations. |
Described by me problem does not occur on any edition of tag v4.3.2. I guess the problem as you mentioned is not related to your changes. I will report it in a separate task. Issue occurs on all editions (oss, content, exp and commerce) on branch 4.4.x-dev. |
Issue reported here: https://issues.ibexa.co/browse/IBX-5030 |
This PR ensures that styling in lists are stored in docbook
Related DocBook Specs:
https://tdg.docbook.org/tdg/5.0/orderedlist.html
https://tdg.docbook.org/tdg/5.0/itemizedlist.html
TODO:
Remove decimal-leading-zero button from Editor - It is not supported by DocBookAdded support fordecimal-leading-zero
in our schema instead$ composer fix-cs
).