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.
25
questions
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 : "...
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. ...
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 ...
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 ...
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 ...
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(...
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
...
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....
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 ...
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!
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: { ...
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....
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 ...
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">
<...
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?