Default editor to the advanced editor and don't allow the compact one

I cannot attach screenshots, so i’ll try to describe the current behavior and what I want to achieve :slight_smile:

When using the Markdown editor:

  • if preview is enabled, the event form shows in the preview (not wrapped in post-event-builder), with a button on the top-right of the preview to switch to advanced mode
  • if preview is disabled, the event form shows up in a modal, wrapped in post-event-builder (the use case you mentioned) with a button in the modal footer to switch to advanced mode

When using the rich text editor, the event form is embedded in the post form; this seems to be the same block as the one used in preview.

What I need is to have only one editor, ours.

As the plugin is bundled in the core, I’m aware that any change will impact everyone using the plugin, so the changes should be minimal

I’m still not comfortable enough with EmberJS to understand how everything is wired together, so any change takes time and I often get a result only to see that there might be another, cleaner way to do the things.

Maybe the last approach consisting of new admin parameters is overkill and I just don’t have found The™ component in which to add a plugin outlet so everything is changed…

לייק 1