Questions tagged [tinymce-6]
83 questions
2
votes
0 answers
TinyMCE 6: how to reconfigure toolbar after init() has already run?
With TinyMCE 5.x and older, I used to be able to run editor.setMode("readonly"), adjust editor.settings.toolbar and then call editor.setMode("design") to be able to reconfigure toolbar contents after the editor.init() had already been run. I already…

Mikko Rantalainen
- 14,132
- 10
- 74
- 112
1
vote
1 answer
How to integrate mustache templating into TinyMCE without having HTML wrappers put around Mustache Code
We are using TinyMCE (6) as a WYSIWYG Editor so our users can enter in HTML content into Templates that we will use later.
We are injecting certain variables, using the Mustache Templating Library, which are then replaced by our backend.
We are…

Jepthy
- 13
- 4
1
vote
1 answer
How to add a custom TinyMCE plugin with Vue3 (Nuxt) using the PluginManager
I have a Nuxt3 app with TinyMCE for which I already created a standalone plugin for inserting LaTeX that works (latex.min.js).
Is it possible to create a TinyMCE plugin that interacts with my web app instead of being a standalone package in the…

luxor37
- 48
- 7
1
vote
1 answer
TinyMCE 6 Mention Plugin - Provision to change "@" symbol to "#" symbol
I am doing a POC on TinyMCE Mention Plugin by using 14days free trial version of TinyMCE 6.
As per the Mention Plugin documentation, "The mentions plugin will present a list of users when a user types the "@" symbol followed by the beginnings of a…

Upama Chatterjee
- 13
- 2
1
vote
3 answers
OnAction event on tinymce editor v6 for custom button is not working
I am trying to get the click event of the tinymce custom button while building a plugin.
My code snippet looks like:
const openDialog = () => editor.windowManager.openUrl({
type: 'panel',
title: 'Example plugin',
url :…

Ujjwal_A
- 23
- 4
1
vote
1 answer
TinyMCE dark/light mode
my question is. That i use a class "light-mode" and wan't to change the tinymce to light mode when i use the class.
I tryed this:
skin: (document.body.classList.contains('light-mode') ? "oxide-light" : "oxide-dark"),
content_css:…

Paddy Schlittler
- 21
- 1
1
vote
0 answers
Tab character is collapsed to a single space in tinymce 6
I am upgrading a tinymce editor from version 5 to 6, and noticing that the tab key and space keys no longer work.
After the upgrade to v6, when TAB is pressed, only a single space is added in the editor. This is the code that handles tabs:
...
if…

pinrut27
- 11
- 1
1
vote
0 answers
What is the consequence of setting convert_urls to false in TinyMCE?
The documentation for "convert_urls" says you can set this to true if you want TinyMCE to be "smart" because otherwise URLs are "messed up" and there is "no way to get the real URL" otherwise.
What does all this mean in practice? What is the real…

andysd
- 126
- 6
1
vote
1 answer
TinyMCE getContent Returns Null
I'm trying to get the raw HTML out of TinyMCE editor. Here is the code I am using
tinymce.init({
selector: 'textarea',
plugins: 'a11ychecker advcode casechange export formatpainter image editimage linkchecker autolink…

Ethan
- 118
- 1
- 13
1
vote
1 answer
TinyMCE 6 - font size option not showing
I'm using TinyMCE 6.0.3 and the fontsizeselect option doesn't show. Here is my initialization:
tinymce.init({
selector: '#txtServiceDscr',
menubar: false,
toolbar: 'fontsizeselect | forecolor'
});
The…

MG123
- 402
- 2
- 14
0
votes
1 answer
update mergetags_list after TinyMCE has been initialized
The documentation for https://www.tiny.cloud/docs/tinymce/6/mergetags/#mergetags_list only defines the merge tags at the time TinyMCE is initialized. Are there any examples on how to update the list after initialization?
Called tinymce.init() using…
0
votes
1 answer
is it possible to add TinyMCE accordion in the react version?
I manage to implement the new version of tinymce 6.5.0 in Thymeleaf. And the only feature that really interest me is the Accordion one.
I've tried to find any information about how I can implemented this feature in the React version. I saw that the…

ispasDani
- 59
- 1
- 10
0
votes
0 answers
TinyMCE 6 - Getting the X,Y co-ordinates of the current cursor position
I am trying to make a fun plugin that does things like: If you type the word "love", it will make a bunch of heart emojis appear to shoot out of the end of the word.
I have so far made a plugin that detects when you've typed one of the keywords, and…

Ben Holness
- 2,457
- 3
- 28
- 49
0
votes
0 answers
Domain Validation Issue with TinyMCE in Capacitor.js App
Hello Stack Overflow Community,
I'm currently working on integrating TinyMCE cloud-hosted version into a mobile application built using Capacitor.js. Everything works perfectly in the desktop environment, but I'm facing challenges on iOS. When…

CreativeDesign
- 79
- 2
- 11
0
votes
0 answers
How can i cancel default binds of headings adding like Alt + Shift + 1, i need to restrict all heading tags for TinyMCE editor
enter image description here
I canceled the heading adding from the panel but key combination remained, how can i restrict that too?
I try to cancel key up adding headings combination, i expected a code for tinyMCE editor which allows me to cancel…

Дмитрий
- 1