Questions tagged [tinymce-6]

83 questions
0
votes
0 answers

TinyMCE 6 - Vue 2.6.14 - Vue Integration Issue with FontSize and FontFamily

We are currently upgrading our version of TinyMCE to 6.4.0 since the version we currently use will be losing support soon. During the upgrade, we have found that the Vue plugin for TinyMCE seems to no longer recognize the fontfamily and fontsize…
Hitbier
  • 1
  • 1
0
votes
0 answers

How to change the CSS file for the TinyMCE (version 6) on the fly without hard reinitializing?

TinyMCE is often used in the CMS Software. The CSS file, that is currently bound to the TinyMCE editor, needs often to be exchanged. There are two important things: The current CSS file must be cleanly unloaded, otherwise their CSS rules will still…
0
votes
1 answer

Tinymce editor change border color

How to change the color of the tinymce editor outer border by pressing a button?
udi
  • 303
  • 1
  • 6
  • 19
0
votes
1 answer

TinyMce Change Border Color

I have implemented tinymce like below. function initTinymce(){ tinymce.init({ selector: '#tinymce_textarea', plugins: 'autolink link code lists media table image textcolor paste directionality wordcount charmap hr pagebreak insertdatetime advlist…
udi
  • 303
  • 1
  • 6
  • 19
0
votes
0 answers

TinyMCE with Vue - External plugin - Uncaught TypeError: tinymce.get()[0] is undefined

First, please excuse me in advance, I'm a newbee. If anything isn't correct in my request, please tell it to me, I'll do my best to correct it asap. I'm writing an application with Vue.js v3 TinyMCE v6 included in one of my…
0
votes
0 answers

Passing in advanced configs to tinymce webcomponent

Im trying to pass in config options as an object like below. defaultConfig: RichTextConfigOptions = { removed_menuitems: 'undo redo', menu: { file: { title: 'File', items: 'newdocument restoredraft | preview | export print |…
Eridanis
  • 410
  • 1
  • 6
  • 19
0
votes
0 answers

How can I open a popup when user type specific character?

I was checking the documentation of Tinymce editor, but couldn't fine an option to do something while user type a character. For example: When user click "#" inside the editor content - I want to open a popup with a dropdown of options to select…
Aviv M
  • 319
  • 1
  • 2
  • 12
0
votes
0 answers

TinyMCE 6 menu not aligned correctly

I am using TinyMCE 6 editor here. I have run into a problem that the menus picker not sticking to the menubar. It only happens when I have scrolled down the page, i.e. body.scrollTop > 0 . Say, I have scrolled down the page a little and I click on…
user2526586
  • 972
  • 2
  • 12
  • 27
0
votes
0 answers

How can i change TinyMCE Enter behaviour while in a

I need to make it so TinyMCE doesn't create a new list element from scratch when in a
  • element and i press the enter key. I'm trying to customize Tiny so that i can enter
  • elements with the following structure:
  • 0
    votes
    0 answers

    How can you avoid display of the current font in the TinyMCE toolbar when no styling is set?

    We use TinyMCE to create HTML text blocks that are included into various other contexts. Typically the styling is defined by the destination, not by the text block itself, but we still have limited font and size selection in the toolbar to allow the…
    Paul C
    • 1
    0
    votes
    0 answers

    How can you control style of menuitem in tinymce 6

    In prior versions the styles of menuitems could be adjusted in the creation, 'style' is not used in v6. I am specifically trying to style menus in a custom plugin menubutton each with their own color. How can this be adjusted in v6. for example {…
    Philip
    • 121
    • 1
    • 3
    0
    votes
    0 answers

    Prevent merge of elements when they are unique

    I'm using TinyMCE 6 and I've created a custom block insert using a
      , and for the most part this is working great. However, if I have several and position the cursor in front of one of the blocks and hit backspace, it then merges all the…
    James
    • 1
    • 1
    0
    votes
    0 answers

    Settings is no longer exists in TinyMCE

    I used TinyMCE version 5.10.2. I add toolbar dynamically in version 5.10.2. var tinyMceInstance = tinymce.get('tinymceid'); tinyMceInstance.settings.plugins += ' image'; tinyMceInstance.settings.toolbar[4].items.push('image'); But when I upgrade…
    Milad Ahmadi
    • 267
    • 4
    • 8
    0
    votes
    0 answers

    TinyMCE 6 - How remove selected text from TinyMCE editor

    Goal: Get selected element into another element and remove selected text from existing element then place the new element where the text previously existed but as a new element. Get the selected text: selectedText =…
    samurai
    • 29
    • 6
    0
    votes
    0 answers

    tinymce sets display: none on element

    I've used a tinymce editor inside a tabbed display: tinymce editor inside tabbed display after switching tabs (which toggles the parent div's display to none). the editor disappear: editor disappeared I check and some code (not mine) set the…