Skip to content

Commit

Permalink
feat: tinymce paste as plaintext by default
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Feb 23, 2024
1 parent 8f022b5 commit 5748e67
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion TinyMCE/full.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
},
"menubar": "edit view insert format table tools help",
"paste_tab_spaces": 2,
"plugins": "anchor code link lists pwimage pwlink table quickbars",
"plugins": "anchor code link lists pwimage pwlink table quickbars paste",
"paste_as_text": true,
"quickbars_selection_toolbar": "bold italic pwlink",
"quickbars_insert_toolbar": "h2 h3 bullist numlist hr",
"promotion": false,
Expand Down
4 changes: 3 additions & 1 deletion TinyMCE/minimal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
"toolbar": "bold",
"quickbars_selection_toolbar": "bold",
"quickbars_insert_toolbar": "bold",
"toolbar_sticky": true
"toolbar_sticky": true,
"plugins": "paste",
"paste_as_text": true
}
3 changes: 2 additions & 1 deletion TinyMCE/simple.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"inline": true,
"menubar": false,
"plugins": "anchor link lists pwlink quickbars",
"plugins": "anchor link lists pwlink quickbars paste",
"paste_as_text": true,

"toolbar": "bold italic pwlink bullist numlist",
"quickbars_selection_toolbar": "bold italic pwlink bullist numlist",
Expand Down
3 changes: 2 additions & 1 deletion TinyMCE/text.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"block_formats": "Paragraph=p; Heading 1=h1; Heading 2=h2; Heading 3=h3; Heading 4=h4; Heading 5=h5; Heading 6=h6;",
"menubar": false,
"plugins": "autolink autoresize quickbars",
"plugins": "autolink autoresize quickbars paste",
"paste_as_text": true,
"toolbar_sticky": true,

"toolbar": "styles bold italic pwlink bullist numlist hr table anchor",
Expand Down

0 comments on commit 5748e67

Please sign in to comment.