Questions tagged [tinymce-plugins]

247 questions
18
votes
4 answers

tinymce "codesample" plugin executes HTML tag

I am using codesample plugin of tinymce which is mentioned here https://www.tinymce.com/docs/plugins/codesample/ in my custom portal. Everything works fine, until, I have to "re-edit" the data stored in database. When i go to edit, all data stored…
John Cargo
  • 1,839
  • 2
  • 29
  • 59
9
votes
1 answer

Tinymce adding file picker button for adding links

I wanted to add a trigger button to upload image as a data. So I added the following piece of code tinymce.init({ selector:…
Abhijith Nagaraja
  • 3,370
  • 6
  • 27
  • 55
6
votes
2 answers

TinyMCE HTML Editor Disable Image Insert Source Textbox

I'm using the TinyMCE HTML Editor with the insert image function. The application I'm working on isn't allowed to use images from external URLs. So they should only be able to use the Upload option. Is there a way to disable the Source textbox shown…
Bad Dub
  • 1,503
  • 2
  • 22
  • 52
5
votes
1 answer

TinyMCE custom plugin, how to make a word automatically selected based on current cursor position?

Making a custom plugin for TinyMCE, I wonder how to make a word automatically selected based on current cursor position, like in the the Wordpress "Add link" plugin. I've searched the Wordpress TinyMCe Wplink code and TinyMCE Docs but I've got no…
AmintaCode
  • 364
  • 5
  • 15
5
votes
1 answer

TinyMCE Stripped the allowfullscreen attribute In iframe?

Hi have gone through documentation of TinyMCE but could not able to find why TinyMCE Stripped the allowfullscreen attribute In iframe ? When I insert and re-edit it stripped . Tried iframe URL
4
votes
2 answers

Showing TinyMCE code plugin into the editor, not in popup

I am designing an HTML editor for Windows Forms. I use Geckofx 60.64 and TinyMCE 5.2.0 for this. When everything runs smoothly, this will be a usercontrol. Here is the screenshot: And I don't want anything that pops up as a popup in this…
Habip Oğuz
  • 921
  • 5
  • 17
4
votes
3 answers

MCE5- How to put any image as custom button icon in Tiny mce-5?

I'm using TinyMce-5 and I have to add some custom buttons to it, the buttons are working great but I don't know how to add an image as icon on those buttons, as fontawesomes do not come up with those icons, so I need to put a .png image as icon on…
Meiji
  • 107
  • 1
  • 11
4
votes
2 answers

TinyMCE go to position and scroll if needed

I'm trying to create a couple of methods to let tinyMCE move the cursor to some SPANS in the text, and this works ok if all the spans are in the visible part of text, but for long documents, when a span isn't visible (have to scroll to view it), it…
leonardorame
  • 1,131
  • 4
  • 18
  • 35
3
votes
3 answers

tinyMCE - get content up to cursor position

I am making a little word prediction plugin for tinyMCE and need to extract a bit of text and later insert text from a list of predicted words. The insertion should be no problem, as I know where the cursor is and can use the mceInsertContent…
Woodgnome
  • 2,281
  • 5
  • 28
  • 52
3
votes
1 answer

How to show all the toolbar buttons in Tinymce 5?

I recently migrated from tinymce 4.8.1 to 5.3.1 community version. After making some changes, everything looks good except one thing, getting MORE button. It shows only one row of toolbar buttons and to see rest of the buttons I have to click on…
sunil20000
  • 356
  • 3
  • 16
3
votes
0 answers

"failed to initialize plugin" after updating tinymce from 4 to version 5?

I already updated tinymce to verion 5 but it seems an error occur caused by its plugin. It refers to each plugins like "advlist/plugin.min.js" Failed to initialize plugin: advlist Error: editor.addButton has been removed in tinymce 5x, use…
heero
  • 278
  • 4
  • 15
3
votes
3 answers

How can I add a dynamic context menu to tinyMCE?

Is there a way to add custom dynamic elements to the context menu in tinyMCE 4.x, after init? I created custom menu items but many of them have sub-items that are dependent on other things going on in my application. I tried using…
kevin
  • 933
  • 1
  • 12
  • 20
3
votes
0 answers

TinyMCE custom format: add and remove specific CSS style

Currently, I'm working on a plugin that uses custom formats. Unfortunately, I can't use classes as the output HTML has to use inline styles. I'm using declarations like: a.formatter.register("dotted", { inline : 'span', styles :…
DatLicht
  • 148
  • 8
3
votes
1 answer

Add new special character in tinymce charmap

I am using tinymce editor for my project. I want to add some more special characters (for eg Rupee sign (₹)). However I didn't find any solution. My code is tinymce.init({ "selector": "#editor", "menubar":false, …
Kiran Shinde
  • 5,732
  • 4
  • 24
  • 41
3
votes
0 answers

How to change tinyMCE editor resize handler position

By default tinyMCE editor resize handler is shown on the bottom right corner of the editor and it gets resized when it's dragged down from there. Can you tell me whether there is a way for me to place tinyMCE editor resize handler at the top…
jeewiya
  • 571
  • 11
  • 24
1
2 3
16 17