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.

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. The aim is to reduce the effort for users trying to express their formatting directly as valid HTML markup.

The most popular editors used for creating the rich text component of web pages have the following specifics:

  • The editing view matches the final appearance of published content with respect to fonts, headings, layout, lists, tables, images and structure
  • The buttons, controls and key strokes deliver the same behaviour as the word processor or text editor that the user is most familiar with.
  • The HTML code that is generated is compliant with web standards (such as W3C) and the browser on which the content will be viewed.
313 questions
31
votes
1 answer

javascript Rich Text Editors

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. Something that would explain both high-level…
idrosid
  • 7,983
  • 5
  • 44
  • 41
29
votes
16 answers

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 : "textareas", theme : "simple", plugins :…
Rakesh Shetty
  • 4,548
  • 7
  • 40
  • 79
24
votes
4 answers

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 to the toolbar, which adds the button, but clicking on the button does nothing and…
kidcapital
  • 5,064
  • 9
  • 46
  • 68
19
votes
2 answers

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 attribute is dynamic ( it could be data-options,…
FMaz008
  • 11,161
  • 19
  • 68
  • 100
15
votes
7 answers

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('asd') //I saw #id_topic_text_parent in firebug,…
T1000
  • 2,909
  • 7
  • 36
  • 53
12
votes
6 answers

Problem with insert/update links with tinyMCE

I have a problem with tinyMCE but only on live environment from some reason tinyMCE rewrite absolute url and only for some TLD sites, so far I'm notice that it doesn't work for .eu domains, does someone hade a same problem or know what can fix this?
vaske
  • 9,332
  • 11
  • 50
  • 69
9
votes
2 answers

jquery listen for events in an iframe

I'm making a very simple Rich Text Editor using jquery... I don't want to use a third-party one. I need to listen for events within an iframe (same domain etc), starting with typing. Apparently I'll need to use bind() a lot. This is what I've got at…
Tim
  • 6,986
  • 8
  • 38
  • 57
9
votes
8 answers

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 This is line three Line two is empty. When I'm…
Kordonme
  • 2,314
  • 3
  • 20
  • 32
8
votes
2 answers

Remove wrapping p from img in ckeditor

I'm wanting to remove the p tags that wrap img tags by default in ckeditor. I don't want to totally disable p tags or change the EnterMode to another tag. I only want to stop images being wrapping in paragraphs. I want this done client side, not…
Ric
  • 3,195
  • 1
  • 33
  • 51
8
votes
2 answers

TYPO3 Update: cannot find deprecated RTE properties

I want to update from TYPO3 4.7.5 to TYPO3 4.7.10. Now I'm in the Upgrade Wizard and it says: Deprecated RTE properties in Page TSconfig The following Page TSconfig RTE properties are deprecated since TYPO3 4.6 and will be removed in TYPO3…
testing
  • 19,681
  • 50
  • 236
  • 417
7
votes
4 answers

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.imageshack.us/img407/4526/screenshotwithshadow.png
cwd
  • 53,018
  • 53
  • 161
  • 198
7
votes
3 answers

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 run eclipse." I already have a java IDE copy of…
Zeeno
  • 2,671
  • 9
  • 37
  • 60
6
votes
1 answer

styleWithCSS for IE

I'm building a custom RTE that converts user input to a homebrewn markup, now idiot that I am I did this using an iframe with designMode = "On" and got it to work in firefox using styleWithCSS = false so that I could easily convert the (yes... b…
Kristoffer Sall-Storgaard
  • 10,576
  • 5
  • 36
  • 46
6
votes
0 answers

Draft.js rendering selection inside a custom block

Let's go straight to the problem. I have editor full of entities, custom renderers etc and I'm trying to add Background color functionality. I'm looking for a way to render selected block inside custom block. App flow should look like this: User…
Budaa
  • 329
  • 3
  • 17
6
votes
1 answer

Adding multiple CSS class to Rich text editor Sitecore 8

I am trying to add CSS classes to Rich text editor in Sitecore 8. I have included the reference to the CSS file in the web.config as below
Arun Kumar
  • 907
  • 13
  • 33
1
2 3
20 21