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

Fix bugs related to textarea.quill #1472

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

lucasnetau
Copy link
Collaborator

  1. quill.textarea contains SVG graphics. This caused getAllGridRelatedClasses to throw a exception due to SVG className property being a SVGAnimatedString instead of a string
  2. quill.textarea is incompatible with form-control class, strip this in the build stage Fixes quill editor looks wrong  #677
  3. Double clicking on a textarea or on content within a content editable field (eg textarea.quill) would cause the edit box to toggle. Add textarea to the exclusion list and also use the isContentEditable property instead of the contentEditable attribute to detect the editable state

…rea. Additionally, use the property isContentEditable to check if the element double-clicked is a descendant of a contenteditable field (eg a paragraph withing a div[contenteditable])
…perty is a SVGAnimatedString not a string. Controls like textarea.quill have SVG graphics in their element list.
…is class is incompatible with the quill control
Copy link
Owner

@kevinchappell kevinchappell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good fixes 🙌

@kevinchappell kevinchappell merged commit 95a8c52 into kevinchappell:master Oct 31, 2023
1 check passed
@lucasnetau lucasnetau deleted the patches branch October 31, 2023 22:47
Copy link

🎉 This PR is included in version 3.16.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

quill editor looks wrong
2 participants