tinymce-bundle icon indicating copy to clipboard operation
tinymce-bundle copied to clipboard

Toolbar configuration in tinymce.yaml takes no effekt

Open kaistaerk opened this issue 1 year ago • 1 comments

Hello,

i tried to configure my toolbar. If doing this in the FormType (attr -> toolbar), it works a bit, because I need the link plugin, but this seems not to be configured. So i switched to tinymce.yaml and check the values.

tinymce:
  # The configurations mirror the TinyMCE attributes.
  # Learn more about each option in Tiny's documentation:
  # https://www.tiny.cloud/docs/tinymce/6/webcomponent-ref/
  skin: "oxide"
  content_css: "default"
  plugins: "advlist autolink link image media table lists"
  toolbar: "bold italic underline link | bullist numlist"

No matter what I enter there, it shows no change.

Any idea's?

Thanks Kai

kaistaerk avatar Sep 17 '24 20:09 kaistaerk

Hi there! I'm a bit late, but I have two suggestions here.

First one would be to try switching to emileperron/tinymce-bundle - it is a fork of this bundle with some bugfixes and improvements (for context, I am the original author of this here bundle as well, but left the organisation and it is now not really being maintained as an open-source project anymore).

Second thing, which might seem obvious but could be the issue if you only recently created the tinymce.yaml config file: try clearing your cache with a good old bin/console cache:clear.

Hope that helps!

EmilePerron avatar Nov 19 '24 23:11 EmilePerron