Sign in

trouble configuring TinyMCE

  • This topic has 2 replies, 2 voices, and was last updated 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3594
    btrem

    Meta info: I replied in another thread that was about this exact topic, but I did not get a reply. I suspect that I was wrong to thread hijack. I then tried to start a new thread by copying and pasting from my first reply, and that went terribly wrong. So I’m starting a third time, retyping it. Sorry for my earlier mistakes.

    I am having trouble configuring TinyMCE. I’m using an override of the blank theme. In Publii/my-site/input/themes/blank-override I have the following config.json:

    {
      "name": "Blank",
      "version": "1.0.0.0",
      "...": "edited for brevity",
      "extensions": {
        "postEditorConfigOverride": true,
        "postEditorCustomScript": true
      }
    }

    and the following tinymce.override.json:

    {
      "toolbar1": "styleselect formatselect searchreplace removeformat undo redo",
      "toolbar2": "image bullist numlist bold italic link unlink media table"
    }

    When I load Publii, the standard toolbars show up:

    https://getpublii.com/forum/wp-content/uploads/2020/08/publii-screenshot.png

    #3665
    Tomasz Dziuda
    Moderator

    Hi,

    I see the reason – at this moment Publii does not find the tinymce.override.json file in the theme override. It looks only inside the original theme.

    I will try to fix it in the upcoming v.0.37

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #3666
    Tomasz Dziuda
    Moderator

    Related issue: https://github.com/GetPublii/Publii/issues/807

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.