Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

trouble configuring TinyMCE

  • #3594
    Avatar photo[anonymous]

    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://forum.getpublii.com/uploads/2020/08/publii-screenshot.png

    #3665
    Avatar photo[anonymous]

    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

    #3666
    Avatar photo[anonymous]