Skip to content
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

10169: BUG: Numbered/Bulleted list formatting on Order Generator not displaying appropriately on Preview or after Save #4142

Conversation

TomElliottFlexion
Copy link
Contributor

@TomElliottFlexion TomElliottFlexion commented Oct 30, 2023

PR to test: #4134

Notes: react-quill uses quill, which is customizable using two methods: either passing a formats prop which enables or disables specific pre-configured styles, or by creating custom Blot Objects using parchment. Unfortunately, react-quill also uses custom classes and characters instead of standard html for ordered and unordered lists. It is not a true WIZIWIG editor. This in combination with the fact the the open disc symbol is not an html character entity makes it difficult (impossible?) to modify quill to match current auto-generated order <ul> styling. Instead, the generated orders have been updated to match quill's standard bulleted list.

Exporting quill styles inline with the generated html is also possible using quill-delta-to-html, but due the non-standard styling mentioned above as well as the fact that the delta produces standard nested <ol> and <ul> tabs I felt it best to continue using standard css styling

@jimlerza jimlerza merged commit 990727a into ustaxcourt:staging Nov 2, 2023
36 checks passed
@jimlerza jimlerza mentioned this pull request Nov 2, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants