-
Notifications
You must be signed in to change notification settings - Fork 4.5k
chore: downgrade tinymce from 7.7.1 to 6.8.3 in package.json #40465
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -460,13 +460,13 @@ function RichtextEditorComponent(props: RichtextEditorComponentProps) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Configure text patterns to use space key trigger for markdown-style formatting | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| text_patterns: [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "#", format: "h1", trigger: "space" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "##", format: "h2", trigger: "space" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "###", format: "h3", trigger: "space" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "1.", cmd: "InsertOrderedList", trigger: "space" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "*", cmd: "InsertUnorderedList", trigger: "space" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "-", cmd: "InsertUnorderedList", trigger: "space" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: ">", cmd: "mceBlockQuote", trigger: "space" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "#", format: "h1" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "##", format: "h2" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "###", format: "h3" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "1.", cmd: "InsertOrderedList" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "*", cmd: "InsertUnorderedList" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: "-", cmd: "InsertUnorderedList" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { start: ">", cmd: "mceBlockQuote" }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
462
to
470
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainThe comment on line 462 might need to be updated to match the implementation The comment states that text patterns are configured "to use space key trigger", but the implementation no longer specifies a trigger, meaning it will use TinyMCE's default behavior instead of explicitly requiring a space key press. This change is consistent with the TinyMCE downgrade from 7.7.1 to 6.8.3. - // Configure text patterns to use space key trigger for markdown-style formatting
+ // Configure text patterns for markdown-style formatting🏁 Script executed: #!/bin/bash
# Check TinyMCE 6.x documentation for default text pattern behavior
rg -A 5 -B 5 "text_patterns" --glob "*.md" || echo "No documentation found for text_patterns in the repository"Length of output: 169 Update comment to reflect default TinyMCE trigger behavior The existing comment still mentions an explicit “space key trigger,” but since we rely on TinyMCE’s default trigger now, the comment should be adjusted. • File: - // Configure text patterns to use space key trigger for markdown-style formatting
+ // Configure text patterns for markdown-style formatting📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| contextmenu: "link useBrowserSpellcheck image table", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| setup: function (editor) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.