FAQ Database Discussion Community


Adding a color box for “Transparent” on the TinyMCE-4 color picker

tinymce-4
I'd like an option with the TinyMCE color picker to choose transparent as the color so a character (a "bullet") will still be there and take up space but will not be visible if it's color is transparent. There's an "X" box option that says "No color" but this seems...

How to create a button in TinyMCE 4 that increments letter-spacing by 1px

tinymce-4
I tried the same approach used in the answer to How to create a button in TinyMCE 4 that increments font size but this doesn't seem to work for letter-spacing. Does anyone have a way to make this work? Thanks...

Reinitialize TinyMCE 4 in AJAX

jquery,ajax,tinymce-4
I'm using TinyMCE in an ajax enabled Foundation Reveal box. Now the TinyMCE kicks in the first time it loads, but if I close the box and open it again it doesn't trigger :( I have other scripts like chosen and masked input triggered in the exact same fore query...

How do you make changes from a new windowManager window?

javascript,tinymce,tinymce-4
I'm fairly new to JavaScript, so I'm learning as I'm doing things. On my internship I was asked to adjust a WYSIWYG html editor so it can be used with e-mails. I'm using placeholders to later be replaced by the user. My question: How do I detect the input in...

Internet Explorer Tells me The Cache for forward and backward ist deakivated

javascript,ruby-on-rails,html5,internet-explorer-9,tinymce-4
I've got an problem with an ruby on rails aplication. I've got a Textarea with the TinyMCE editor. so if I call the page every thing is okay. But If I want to save or leave the page I got the Message If I really want to leave the page?...

tinymce - update plugin property after editor initialization

javascript,javascript-events,tinymce,tinymce-4
I need to update the colors list after init (or even on init), the plugins is textcolor. I'm using tinyMCE 4.1.9. How can I do that?

Skipping tinymce image-upload modal

ruby-on-rails,tinymce,tinymce-4
I'm using the tinymce-rails gem and the tinymce-rails-imageupload gem for image uploads in an editor. I've looked around and cannot find a way to change the default upload process. Instead of clicking the image button in the toolbar and getting a modal-popup to upload an image and add a caption,...

How to add tinymce 4.x dynamically to textarea?

javascript,jquery,html,tinymce,tinymce-4
I have a little problem with adding tinymce dynamically to textarea after init. tinymce.init({ selector: "textarea", theme: "modern", height: 100, plugins: [ "advlist autolink image lists charmap print preview hr anchor pagebreak spellchecker", "link searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking", "save table contextmenu directionality emoticons template paste...

How to detect changes in wp_editor?

javascript,wordpress,tinymce-4,wp-editor
How do I detect in javascript if the content of a wp_editor tinyMCE instance have changed? I've tried with tinyMCE.editors["content"].isDirty() but the result is always false. I'm using Wordpress 4.2.2. ...

Reactjs together with TinyMCE editor code plugin

tinymce,reactjs,tinymce-4
I'm using Reactjs together with the tinyMCE 4.1.10 html editor (together with the code plugin) and bootsrap css + js elements. A fairly working setup after a few quirks with the editor have been removed (manual destruction if the parent element unmounts) Now the question: The textarea input of the...

How to add a custom control to the TinyMce 4 toolbar

plugins,control,tinymce-4
I want to introduce a new Control to TinyMce that I can use in the toolbar. In my case I want to add an icon control that can be placed at the start of the toolbar to differentiate between editors. However there is almost no information about how to properly...

TinyMCE doesn't work on second init

javascript,jquery,tinymce,tinymce-4
I have a button, which loads a form when clicked, and another cancel button, which removes the form from dom. When the form is inserted, the textarea is initialized with TinyMCE and it works fine. But after I click cancel, and then load the form for the second time, it...

set Content of a TinyMCE textarea via HTML

javascript,jquery,html,tinymce,tinymce-4
To set a content of a TinyMCE textarea we use this code in JavaScript : tinymce.activeEditor.selection.setContent('<strong>Some contents</strong>'); but how can I set the content via html, without JavaScript ?? I tried to use <textarea>Some Contents</textarea> but this is not working. Thanks...

Configure TinyMCE in Joomla front-end

joomla3.0,tinymce-4
I am having difficulty fine-tuning TinyMCE editor in a custom component in Joomla! v. 3.4 Front-end and would appreciate any advice to set it up. I am loading this editor through XML in model's "forms" folder. As seen in my picture, I have marked a portion of it with red...

TinyMCE - how to add custom insert template button for each template

javascript,tinymce,zurb-foundation,tinymce-4
For keeping site responsiveness and applying standard grid system (I'm using Zurb Foundation) on custom user data entered on my web application I have defined some templates in tinyMCE to insert custom user data and pages on my web application. But it only includes one button in toolbar which is...