Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
2 answers
5k views

How to add custom block in tinyMce

I wanted to add custom formatting block for TinyMCE, I Was able to do it with below code. style_formats: [ {title : 'Code', block : 'pre', classes : 'pre-code', exact: true},] https://codepen.io/...
Tariq Husain's user avatar
1 vote
1 answer
2k views

Multiple custom plugins in TouchUI RTE in AEM not working

I tried adding two custom plugins in TouchUI RTE (Image plugin and colorpicker plugin ). if I add either of the one plugin's to RTE, that works fine but when having both together, only color picker ...
user1153484's user avatar
1 vote
0 answers
982 views

tiny MCE cut,copy,paste in Edit is not working in Chrome - Warning Message : KeyboardEvent.keyIdentifier' is deprecated

I am having a problem with the TinyMCE RTE. Under Edit Menu, I have the options shown in the below screenshot. Except "Select All" , no other option is working. The code in the tinymce.min.js ...
user2598808's user avatar
0 votes
1 answer
1k views

tiny MCE add font dropdown list

Can someone please tell me how to add font dropdown list to TinyMCE? I referred the example in this fiddle : http://jsfiddle.net/g51nrhhf/26/ I tried the below code by adding font-family, but didnt ...
user2598808's user avatar
1 vote
1 answer
44 views

Tiny MCE - Restrict the options under "format"

The "Format" option in the toolbar contains the options like : I want to know how to remove all / any of the options under this "format" dropdownlist. Like I want to remove Bold, Italic , Underline. ...
user2598808's user avatar
3 votes
2 answers
2k views

Change textbox text inside a tinymce editor using javascript

I have a textbox inside a tinymce editor. I want to change textbox text by using javascript. Can any one tell me how is this possible? Thank you
user1809274's user avatar
2 votes
1 answer
315 views

own RTE - get and set Style of Selection

I have to build my own RTE with javascript or JQuery. But I couldn't really find some good, commented, working example or tutorial just single pieces of code. But I don't want just a solution, I want ...
Leo's user avatar
  • 1,720
2 votes
1 answer
280 views

Unable to get/set contents of tiny mce editor

I am using Tiny MCE editor version : 3.5.7 I am using multiple instances of text editor on same page with unique IDs and I have wrapped these editors in a div to show and hide these editors. ...
Umer Khalid Butt's user avatar
6 votes
2 answers
7k views

how call a TinyMCE plugin function?

how can I call a tinymce plugin function? tinymce.activeEditor.plugins.customplugin.customfunction(customvar); not working!
m3hdi's user avatar
  • 383
2 votes
1 answer
960 views

jQuery .ajax() is breaking TinyMCE 3.5.6

I've built a simple CMS with multiple layers of jQuery.ajax(), like so: function navto(destination, pageToEdit, insertInto) { // use JQuery's ajax method to control main navigation if (pageToEdit == "...
Monk's user avatar
  • 53
2 votes
1 answer
2k views

Get cursor position or number of line on which the cursor is in TinyMCE

How to get the cursor position in TinyMCE or the number of line on which the cursor is in TinyMCE?
petko_stankoski's user avatar
2 votes
1 answer
1k views

multiple TinyMCE

I have recently encountered a problem while developing a page with multiple TinyMCEs. <textarea style='width:90%;height:500px;' class='tinymce' name='message' id="mce_editor_0" placeholder='Long ...
Vladimir Hraban's user avatar
4 votes
1 answer
1k views

Prevent empty lines collapsing in IE on contenteditable=false

I have a div with contenteditable=true set in order to allow inline editing (for RTE purposes). Im aware different browsers handle the enter keypress differently, FF inserts <br> and IE ...
SW4's user avatar
  • 70.8k
1 vote
3 answers
2k views

With tinymce, the formatting seems to change when I copy content from a <div>

If I copy + paste from a word doc, it's fine, and it produces near enough an exact copy. If I display the content in a within an iframe (to prevent css interfering) it appears exactly as it did in ...
NibblyPig's user avatar
  • 52.5k
2 votes
1 answer
642 views

tinymce resizing with jquery

Here is the code: tinyMCE.init({ mode: "textareas", theme: "advanced", plugins: "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,...
petko_stankoski's user avatar

15 30 50 per page