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
6
votes
2 answers

how call a TinyMCE plugin function?

how can I call a tinymce plugin function? tinymce.activeEditor.plugins.customplugin.customfunction(customvar); not working!
m3hdi
  • 383
  • 1
  • 4
  • 15
5
votes
3 answers

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: { inline: 'u' } }, I insert "this is a text" into…
Thariama
  • 50,002
  • 13
  • 138
  • 166
5
votes
2 answers

Temporarily upload on S3 and remove if it's not used?

I'm trying to implement wysiwyg text editor on react using react-draft-wysiwyg. For uploading image using the text editor, i'm trying to post the file on uploadCallback function to S3 and return the url for the uploaded item to the editor. But I…
Dong Park
  • 67
  • 1
  • 4
5
votes
5 answers

Umbraco how to stop Rich Text Box to automatically add

tag in html

I am developing a website in umbraco, the problem is when i insert my html in rich text editor it automatically inserts "p" (Paragraph Tag) tag in the html which is destroying my design.Please help me, i am stuck here. Thank you.
DevUsman
  • 151
  • 2
  • 10
5
votes
2 answers

tinymce - how to save rich text and plain text versions at the same time

I would like to leave user to make rich text with tinymce and save it in db, but also I want to save plain text version. Does tinymce provide such option?
user2184276
5
votes
2 answers

this.getDoc() is null in FF using tinymce

I got the problem that when i load my page i immediatly receive the error : this.getDoc() is null The function getBody() of Editor.js gets called and the document seems to be not available getBody : function() { return this.bodyElement ||…
Thariama
  • 50,002
  • 13
  • 138
  • 166
4
votes
1 answer

about font name/size drop downs in a wysiwyg editor

I'm working on a Rich Text Editor for IE, and I would like to ask a question about getting "fontname" value at the current insertion point. The issue is with empty lines, let's say in the editor the user has typed in: line 1 line 2 The empty line…
John Jiang
  • 171
  • 2
  • 5
4
votes
2 answers

tinymce custom-button replace content

I added a custom 'quote' button. ed.addButton('blockquote', { title : 'blockquote', cmd : 'mceblockquote', image : url + '/img/blockquote.gif', onclick : function() { var blockquoteActive =…
saromba
  • 472
  • 2
  • 7
  • 23
4
votes
3 answers

How to build an own WYSIWYG editor (RTE) using Vanilla JS

I don't want to use Jquery. I want to solve this in vanilla JS. Please help me! Description: How to make selected text bold/italic/underline on clicking a button in JavaScript? Here is my HTML. …
4
votes
1 answer

Rich Text Editor Cursor doesn't move making the text be typed backwards

I have a RTE inside a react functional component and for some reason the cursor has stopped moving ahead as the text is typed causing the text to be typed backwards. Now, I have figured where the issue is but I don't have a solution. I did find this…
momal
  • 576
  • 2
  • 13
  • 30
4
votes
1 answer

How can I cancel auto closing tags in TinyMce?

TinyMce by default try to close html tags in rawHTML editor mode. For example:

sample texttext

automaticaly modified to

sample texttext

How can I cancel this functionality?
Vyalov V.
  • 353
  • 1
  • 3
  • 13
4
votes
1 answer

How can I get input data from mui-rte editor?

I am working on a Q& A platform in which I used mui-rte to implement the form--Just like in the one I am typing right now. My problem is that I dont know how to get the data without having to click on the shipped "save" button. Alternative, how can…
4
votes
0 answers

Draft.js new line after and before IMMUTABLE entity

how to get rid of a break after and before every IMMUTABLE object in editor. When I add image for example. const contentStateWithEntity = contentState.createEntity( "image", "IMMUTABLE", { src: urlValue } …
Piotr Leniartek
  • 1,177
  • 2
  • 14
  • 33
4
votes
1 answer

Umbraco: Customising RTE to work with HTML tags

I am using Umbraco 7 CMS to set up a website. Within the pages, I have several RichText Editors that I would like to customise to accept tags (namely the abbr tag). I googled this, and came across the following instructions; Editing the…
IfElseTryCatch
  • 483
  • 9
  • 12
4
votes
1 answer

Problems with livequery and rte on firefox 3.5.2

i been using the following code for some time now and it has worked ok on ie6-8 and firefox 3. $("#article").livequery(function () { $("#article").rte({ cssUrl: "css/rte.css", mediaUrl: "css/rte/", listenToClass:…
mut
1
2
3
20 21