Questions tagged [tinymce-6]
83 questions
0
votes
0 answers
How to Emit an Event from TinyMCE Component to Parent?
I'm using Vue 2.0. TinyMCE version:
"tinymce": "^6.6.2",
"@tinymce/tinymce-vue": "^3.2.8"
I have created a custom component which is a tinyMCE text editor. It looks like this:

Robert Juszczyński
- 27
- 5
0
votes
0 answers
TinyMCE Issue in Events on execCommand
There is an issue with the TinyMCE editor. When I insert a table from the toolbar, the execCommand is triggered, and it should contain mceInsertTable. However, two events are fired: mceInsertContent and mceInsertTable. I would like to know why this…
0
votes
2 answers
TinyMCE : NS_ERROR_UNEXPECTED on Firefox browser after saving the editor content
Currently on the firefox browser, when we try to reload our component which has the tiny-mce editor, we see NS_ERROR_UNEXPECTED message and the editor does not show any content at all.
On loading the editor for the first time, the content is…

Kushagra Sharma
- 1
- 1
0
votes
0 answers
Place holder is not working in editor text area in TINYMCE
We tried Adding placeholder in tinymce.init, it is not showing in textarea.
tinymce.init({
selector: "textarea",
** placeholder: "Enter paragraph text. Highlight the text to apply styling.",**
skin: false,
icons: '',
menubar: false,
});
We…

Swapna Nalluri
- 1
- 1
0
votes
0 answers
Editor does not load if textarea id has special character
TinyMCE editor does not get rendered if the textarea element's id contains special characters. For instance, one of my textarea to which I want to associate the TinyMCE editor has an id something like "DESCRLONF$0". Editor does not get rendered for…
0
votes
0 answers
Pasting from Google Docs removes Bold style in TinyMCE
I'm using TinyMCE and I noticed that when I copy/paste from Google Docs all the bolds disappear to become normal text.
Reproduction online:
https://jsfiddle.net/qg4x6ctL/2/
My options:
tinymce.init({
selector: '#content',
placeholder: "Paste…

Alvaro
- 40,778
- 30
- 164
- 336
0
votes
0 answers
How to control way that tags are wrapping text pasted in source code window
How to configure TinyMCE 6 so that when I input this into source code:
Above text

Title
Some text It gets transformed into this (separateor block tags…

mihallievich
- 483
- 2
- 10
0
votes
0 answers
TinyMCE 6 in Fancybox 5: Cannot focus popup
I have a TinyMCE editor in a Fancybox 5 (inline) dialog.
The editor itself works fine, but when I click the <> (source code) button, the cursor doesn't appear in the box and I am unable to edit it. Interestingly, the Save and Cancel buttons are…

Adam Clifford
- 25
- 5
0
votes
0 answers
Integration of TinyMCE editor and ChatGPT
I'm trying to integrate TunyMCE editor with ChatGPT so I can use some OpenAI features. I was trying to implement this example: https://www.tiny.cloud/blog/chatgpt-integration/, but I always get error 429: Error 429
I tried running this example from…

Mila Mirovic
- 31
- 3
0
votes
0 answers
TinyMCE 6 - Quick Toolbar Plugin - Navigate between buttons in Quick Toolbar (Contextual Toolbar) using Keyboard (left and right arrow keys)
I am using TinyMCE 6 (Classic Editor) Quick Toolbar plugin to display context toolbar on text selection.
When I am trying to navigate between buttons inside the quick toolbar using the left and right arrow keys, the toolbar is getting closed.
Can…

Upama Chatterjee
- 13
- 2
0
votes
0 answers
TinyMCE 6 - Custom Keyboard Shortcuts
I am using TinyMCE 6 (Core Editor) classic editing mode.
I want to create custom keyboard shortcuts to enable numbered and bulleted lists.
* + spacebar => Enable Bulleted List
1 + ) => Enable Numbered List
1 + . => Enable Numbered List
I…

Upama Chatterjee
- 13
- 2
0
votes
0 answers
Tinymce setting contextmenu: false seems to have no effect
I am trying to remove the contextmenu in tinymce editor however setting the context menu: false, seems to have no effect on the editor.

Mikemcs
- 3
- 3
0
votes
0 answers
table_clone_elements How can I make it copy the class attribute also?
When using the add new (row) option on the quick tables menu, Tinymce can create a new row . How can I make it also copy the previous rows classes? currently I have a class on the elements but when creating a new row the classes are lost on the…

Mikemcs
- 3
- 3
0
votes
0 answers
Testing React component with TinyMCE Editor
I have a component which utilizes tinyMCE Editor
I am trying to write a test and simulate a…

Siddiqa
- 1
- 1
0
votes
0 answers
TinyMCE editor does not allow nesting custom elements
When I add below HTML in editor consecutively twice, the editor adds them in a nested fashion i.e, lets say I execute the following commands:
tinymce.activeEditor.execCommand('mceInsertContent', false,`

Mohammed Raqeeb
- 75
- 2
- 12