-
Notifications
You must be signed in to change notification settings - Fork 62
[WC-3149][WC-3109]: tab keypress and softbreak on rich text #1991
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
base: main
Are you sure you want to change the base?
Conversation
e3be62e to
b67ccca
Compare
93d4856 to
c1a6401
Compare
samuelreichert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| import Quill from "quill"; | ||
| import Module from "quill/core/module"; | ||
| import QuillClipboard from "quill/modules/clipboard"; | ||
| // import QuillClipboard from "quill/modules/clipboard"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // import QuillClipboard from "quill/modules/clipboard"; |
Maybe remove if the plan is to not use it anymore in the future
| return [ | ||
| "address", | ||
| "article", | ||
| "blockquote", | ||
| "canvas", | ||
| "dd", | ||
| "div", | ||
| "dl", | ||
| "dt", | ||
| "fieldset", | ||
| "figcaption", | ||
| "figure", | ||
| "footer", | ||
| "form", | ||
| "h1", | ||
| "h2", | ||
| "h3", | ||
| "h4", | ||
| "h5", | ||
| "h6", | ||
| "header", | ||
| "iframe", | ||
| "li", | ||
| "main", | ||
| "nav", | ||
| "ol", | ||
| "output", | ||
| "p", | ||
| "pre", | ||
| "section", | ||
| "table", | ||
| "td", | ||
| "tr", | ||
| "ul", | ||
| "video" | ||
| ].includes(node.tagName.toLowerCase()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have maybe a const here? like const TAG_NAMES = [...]
Pull request type
Description