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

Questions tagged [rte]

RTE refers to a Rich Text Editor, which is an interface for editing rich text within web browsers, which presents the user with a "what-you-see-is-what-you-get" (WYSIWYG) editing area.

29 votes
16 answers
61k views

Limit the number of character in tinyMCE

Im using tinyMCe for my project.Everything is working fine but now i want to restrict the number of character that will be insert into tinyMce textarea tinyMCE.init({ // General options mode : "...
Rakesh Shetty's user avatar
31 votes
1 answer
11k views

javascript Rich Text Editors [closed]

There are several (very good) rich text web editors written in Javascript (eg FCKeditor, YUI Texteditor and many many others). However I couldn't find any tutorial on how to build such a component. ...
idrosid's user avatar
  • 7,999
26 votes
4 answers
44k views

How to add image in Quill JS?

I can't figure out how to get images to work like in the example on http://quilljs.com/. I tried adding <span title="Image" class="ql-format-button ql-image"></span> to the toolbar, which ...
kidcapital's user avatar
  • 5,134
19 votes
3 answers
22k views

TinyMCE, allow data attribute

I have to use the HTML 5 data attribute in Tiny MCE, but the editor always clear them, as it's not an attribute known by the default valid_elements configuration. So I have 2 problems here: the data ...
FMaz008's user avatar
  • 11.2k
2 votes
2 answers
2k views

TYPO3 RTE Editor not loading

Today in one of our older sites we found an issue with the RTE Editor. For any of our users the editor does not load. It is stuck on loading as you can see in the image below. Now I realize that the ...
RDAxRoadkill's user avatar
15 votes
7 answers
24k views

tinyMCE blur event

Hello I want to do some stuff when user finished writing in the tinyMCE textarea and click somewhere outside (onBlur). So far I haver try: $('#id_topic_text_parent').live('blur',function(){ alert(...
T1000's user avatar
  • 2,941
9 votes
8 answers
15k views

Linebreaks in TinyMCE editor show extra line on preview, not in code

I'm using the BBCode plugin with TinyMCE and see that line breaks are not showing the same between the preview and the HTML code. I have the following lines in the editor window: This is line one ...
Kordonme's user avatar
  • 2,294
7 votes
4 answers
8k views

How can I change the default font color palette in the TinyMce editor?

I have some preset colors that I'd like to add which goes along with my website's theme. How can I change the default font color palette in TinyMce? screenshot-with-shadow.png http://img407....
cwd's user avatar
  • 54.2k
7 votes
3 answers
17k views

How use Eclipse as a Javascript IDE?

I downloaded the eclipse Javascript IDE from the official download page however, when i start the application it says "A Java Runtime Environment or Java development Kit must be available in order to ...
Zeeno's user avatar
  • 2,701
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
5 votes
3 answers
10k views

Underline format problem

According to the documentation i would like to overwrite predefined formats using this settings: formats: { bold : {inline : 'b' }, italic : {inline : 'i' }, underline: { ...
Thariama's user avatar
  • 50.6k
2 votes
2 answers
2k views

What is the right configuration for the RTE to show my own CSS classes as selection?

The configuration of the RTE changes with each (big) version. Now I have my first 7.6 installation where I need to configure the RTE so editors can have special classes for paragraphs, spans or tables....
Bernd Wilke πφ'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
2 votes
1 answer
2k views

TYPO3 9.5.4 CKEditor RTE deletes style attributes

I updated a TYPO3 website from 7->8->9. Now the problem is that the RTE CKEditor keeps deleting style attributes and even styles. So and old Element with content: <div class="mobilr"> <...
Nyxeen's user avatar
  • 181
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

15 30 50 per page