Questions tagged [tinymce]
TinyMCE is an open source WYSIWYG HTML editor that provides a modern rich text editing experience for web applications. Use this tag for questions regarding the usage of TinyMCE and its integration with CMSs and other web-based applications.
7,975
questions
0
votes
0
answers
5
views
TinyMCE removing html tags on init
I try to paste html code. I use tinymce code plugin. After save it's ok.
The source code: <p><code><html><body>test</body></html><...
0
votes
0
answers
14
views
How I can configure TinyMCE HTMLFIELD to allow users to browse their file explorer/finder and upload an image or paste url
I am working on Django app and I have downloaded tinymce to help me build a html widget, then I created HTMLFIELD in my model.
(as the screenshot show). it seems by default, the add image tab only has ...
0
votes
1
answer
12
views
Language parameter is not working in TinyMCE - react
I am trying to use TinyMCE-React in the Japanese language. But an error has occurred by using the Language Parameter. Here is my code -
<Editor
apiKey="myAPIKEY"
onInit={(evt, ...
0
votes
0
answers
11
views
How to convert markdown to HTML automatically in TinyMCE after copy and paste?
In the text editor, when the content with syntax is pasted, the conversion from markdown to HTML doesn't occur automatically. Instead, the enter key should be hit for each line before conversion.
For ...
0
votes
0
answers
15
views
TinyMCE 6 Replace Text Issue
This issue is specifically for TinyMCE v6 or v5. I need to replace ' with &apos. I can do this in both v3 and v4. But I cannot for the life of me get it to work in v5 or v6. In both v3 ...
0
votes
1
answer
13
views
Problems displaying image in Tinymce text editor with JS
I have the code, the image is uploaded and returns me the URL of the image that is saved next to my server, the problem that always throws me the following error and I can not understand the error or ...
0
votes
0
answers
10
views
tinymce adding a context form to a custom plugin in wordpress
So after a lot of trial and error I managed to make a simple tinyMCE plugin that suits a project I'm working on , the plugin at the moment adds or removes a html tag from the slection , but now I want ...
0
votes
0
answers
20
views
How to dynamically resize image in tinyMCE editor?
I am using TinyMCE editor. However, I have run into a problem. I can add the image and resize it as well but when I resize, both height and width get resized by same proportion.
I want to resize only ...
0
votes
0
answers
8
views
How can I build a plugin that displays a panel with clickable thumbnails?
I want to create a plugin for a menu panel with clickable thumbnail images. These images will be used for choosing something instead of using a regular select box. Is that possible, or can menu ...
0
votes
0
answers
20
views
Microsoft Windows HTML conversion library vulnerable to buffer overflow has been identified for tinymce.mini.js [closed]
I have used the tinymce in one of my application. I am hosted the tinymce.min.js file on the server and serving the same to the client using the <script> tag in the index.html file. belwo is the ...
0
votes
0
answers
16
views
Tinymce drag and drop contenteditable = false on firefox produce duplicate element
In tinymce editor I have a non-editable element with contenteditable=false, If I drag this element under the end of editor in firefox, release the cursor and click somewhere in the edit area it will ...
0
votes
0
answers
23
views
How to build custom user mention functionality for Tiny MCE editor in Angular
I am trying to customize the tinyMCE editor and want to add user mention functionality like this in the following image:
screenshot
tinyMCE provides this in its premium subscription. But I want to ...
0
votes
0
answers
12
views
How to submit form with tinymce on blur?
I want to save the form data with ajax. I can pass all fields to DB but textarea with tinymce implemented. My method is 'onblur'. When remove a cursor from an element the ajax is triggered.
...
-1
votes
0
answers
15
views
Display paragraph instead of div (WYSIWYG)
When usign trix on a field if is entered a text like:
This is the first line of the text
This is another line and should be a paragraph
The result of this in terms of html tags will be like:
&...
0
votes
0
answers
8
views
Show/hide source code in same text-area which is used as rich-text box for TinyMCE rich-text
I'm adding TinyMCE rich-text(javascript) to my AngularJS project.
I want to show/hide the source code in the same text-area which is used for TinyMCE rich-text, but I'm not getting how to achieve it.
...
0
votes
1
answer
23
views
Why is the styleselect-button not showing up in my toolbar menu in Tinymce?
I added the TinyMCE-editor to my rails app.
When initializing, it is possible to add a range of options to the TinyMCE-editor, for example:
tinymce.init({
selector: ".tinymce-textarea&...
0
votes
1
answer
16
views
TinyMCE-react: media is not clickable in readonly mode
I am using tinymce-react, it works fine in editor mode, but when I use readonly mode with disabled = {true}, the video I inserted turns unclickable. (My test site.)
I have tried copy YouTube embed ...
0
votes
1
answer
26
views
Tinymce add additional words to existing translation
We use tinymce in a rails application using two gems:
Using tinymce-rails 5.8.2
Using tinymce-rails-langs 5.20200505
We would like to add some additional translations of individual words and change a ...
0
votes
0
answers
30
views
how add image upload in TinyMCeditor laravel
i'm trying to upload images in between my blog content but when i select images from the gallery its shoes the error Route[/] not found, even though the route is defined correctly
create.blade.php
<...
0
votes
0
answers
17
views
How can I detect onChange event in TinyMCE custom plugin it?
I'm trying to develop a custom TinyMCE plugin which will load the items for a selectbox list based on the options of another selectbox list. However, I cannot figure out how to detect any even on the ...
0
votes
0
answers
19
views
How can i get images src from tinymce to an array with vue?
I have the following block of code:
<template>
<div class="main">
<h1>Create article Page</h1>
<v-text-field v-model="article.title" label=&...
0
votes
0
answers
12
views
Tiny MCE : Multiple Content Selection in Brackets Braces
I would like to know how we can select automatically multiple words/content inside brackets by clicking the mouse twice with TinyMce.
Is there a way to achieve that ?
Thanks
0
votes
1
answer
18
views
TinyMCE autocloses HTML tags - How to disable? 2
Same question as here
I have two tinymce Editors One of them for Header other for Footer(needs o be done for email template).
I want for example to have
<div>abra in Header editor. After saving ...
0
votes
0
answers
24
views
Rich-text editor in Vue app does not work when loaded as web-component
We have a Vue application built as a web-component and loaded on another HTML page (as a web-component).
We have tried different rich-text editor implementations (TinyMce, Quill Editor, CkEditor, vue2 ...
0
votes
0
answers
12
views
Sending content from TinyMCE to Airtable
I've implemented TinyMCE on an app I've created, and would like to have it submit the textarea's content to Airtable on button click. The thought process is: retrieve the textarea data, pull some ...
0
votes
0
answers
23
views
Tinymce - How to make a relationship between uploaded images and article?
From my understanding, the way tinyMCE works when using tinymce.activeEditor.uploadImages to deal with uploaded images, is to first make one individual POST request per image to the server and wait to ...
0
votes
1
answer
32
views
How to customize TinyMCE dialog CSS?
I'm trying to get custom CSS control over TinyMCE dialogs/modals but not getting anywhere and not finding clear instructions for this in the Docs. I'm using TinyMCE 6 (the latest version).
I'm able to ...
0
votes
0
answers
22
views
Overriding TinyMCE Styling after using dangerouslySetInnerHTML
I have a dynamic page with a lot of text in RTL format. TinyMCE cannot display the RTL text properly.
It shows up something like this:
While I want it to be displayed like this:
Searching for a ...
1
vote
0
answers
17
views
django-tinymce changes relative urls
tinymce to manage my contents. it's ok, works but there is a small thing that i a curious to know is that why tinymce changes urls by it's own. for example:
i put a link and using url like /post/post1
...
0
votes
0
answers
14
views
How to get TinyMCE to always load its desktop mode
I have this page with a TinyMCE 5.10.4 Editor if I load the page at full desktop size, and then switch it to mobile sized, the text box appears as normal, I believe this is because while the screen is ...
0
votes
1
answer
30
views
Get the edited content in tinyMCE 6
I am integrating TinyMCE in my ember.js app. Unfortunately I cannot get back the edited content, or at least, all of it.
tinymce.init({
selector: '#'+ this.editorId,
toolbar: 'undo ...
0
votes
1
answer
19
views
Tiny MCE v6 loading issue
I'm using the open-source version and have download the latest zip file containing all the server side code. However, when I run the page I get the following errors on the javascript console. All of ...
0
votes
1
answer
34
views
Nested TinyMCE modal input controls not getting focused
After failing to load 5 TinyMCE editors on one page, I decided to create "edit" buttons which then loads the editor inside a modal.
<Modal.Body>
<FormGroup className="mb-...
0
votes
1
answer
32
views
Tinymce HTMLField Doesn't show in StructBlock
I'm trying to use HTMLField inside a StructBlock, but the text editor doesn't show...
Any idea if this is the correct way to use the tinymce with blocks.StructBlock ?
Thanks
from tinymce.models ...
0
votes
1
answer
33
views
TinyMCE Text editor security with HTML
I'm using the free JS plugin from tinymce and interested in preventing an HTML injection with the tinymce text editor.
I've added this property to the INIT:
invalid_elements: 'script' (just for this ...
0
votes
0
answers
15
views
Best ways to implement Smart Compose in TinyMCE v5
I tried searching for smart-compose function/plugin in tinyMCE but couldn't find, hence, asking here.
Smart Compose is what Gmail will do when you are typing message in compose window, like below:(...
0
votes
0
answers
9
views
Inserting Link on a variable doesn't work on a CMS page using Tinymce wysiwyg editor [magento2]
Link on a variable doesn't work on a CMS page using Tinymce wysiwyg editor
On the CMS page when we insert the variable and added the link to that variable, the link is not working.
STEPS TO REPLICATE:
...
0
votes
0
answers
16
views
TinyMCE receive structured or templated input
In my Django app I am using self hosted TinyMCE 5 editor version. I am trying to find the most efficient way to get user input by guiding them to write structured content as required.
There are three ...
1
vote
1
answer
51
views
How to apply TinyMCE styles to published content?
I am using TinyMCE editor in my React app. Its CSS is working in the Editor but not working on published content.
I am rendering an element like this:
<div
dangerouslySetInnerHTML={{ ...
0
votes
1
answer
40
views
How to configure TinyMCE 6 to insert a <br> by pressing only Enter (rather than Shift+Enter)?
How can I configure TinyMCE 6 to insert a <br> by pressing only Enter (rather than Shift+Enter)?
For example, when I run the following, I cannot create a new line simply by clicking [Enter]. ...
0
votes
0
answers
11
views
How I can change the source of upload images in HTMLflied in Django model field
I am using django-admin as a cms to create content and React to fetch it, I came cross a point where I need to upload a blog image and when I click on the insert/edit filed, the popup model to upload ...
1
vote
1
answer
49
views
Rich text editor for Django with comments/annotation (open source)
Is there anyone succeeded integrating any rich text editor through Django along with inline comments option? I refer inline comment as highlighting a word or sentence in the text editor and adding ...
0
votes
1
answer
40
views
tinyMCE v6 event bubbling
I trying to catch keydown triggered on < p > element inside of editor iFrame but with this code, i getting textarea element. Event.stopPropagation() does not stop bubbling, i still getting ...
0
votes
1
answer
27
views
TinyMCE valid_children not working as expected
We're trying to add a custom style format to TinyMCE which acts as a wrapper but don't want it to appear inside another DIV, table cell or list.
We thought that we could achieve this with the ...
-1
votes
1
answer
17
views
Tiny_mce image list
I was using a very old tiny_mce (tiny_mce_gzip.js) that is no longer working after a php upgrade. I need to able to use the image selector via the 'external_image_list_url' but trying to find my way ...
0
votes
0
answers
16
views
TinyMCE commands from JavaScritp not editor?
Is it possible to send TinyMCE a command from another JavaScript script? I mean the commands like bold or coloring of text, insert table, undo, etc. Thanks
0
votes
0
answers
10
views
TinyMCE - On the drop of text, need to add space after the text
Dropping text with a link to the editor. When the user focuses on the editor, the focus is set to the last text link. Now the user starts typing the continuation starts from the last text link, the ...
0
votes
0
answers
33
views
"Cannot find name 'tinymce' ts(2304)" After Supposedly NPM Installing Types
I'm making a TypeScript-coded web app to run in SharePoint (specifically not Node!!) and which will include use of this useful editor TinyMCE.
I usually have no problem getting types I need through ...
0
votes
0
answers
10
views
TinyMCE - Font size selection - directly to tag
i have this nice dropdown with my own font-sizes. But it makes spans.
For me its a problem because the p´s and headlines have line-heights set.
how can i get my font-size without span directly to the ...
0
votes
1
answer
43
views
Tinymce remove <!doctype> and <html> tags
I'm trying to extract just the html, without the encapsulating <!doctype>, <html> and <body> tags.
I've seen this question asked before many times, and the answer is always to ...