Improving the Edit menu

Ok @mflorea has explained more to me and I now understand that my proposal cannot work for the inplace editor part. The reason is that we cannot have the inplace editor used to just edit the content as it works on top of the view mode (which applies sheets). Even if imagined introducing a view mode with some URL parameter to not apply sheets, then we would have 2 problems: 1) the view mode would look weird and not what users expect to see for a wysiwyg mode and 2) it would be dangerous (take the example of an app that uses page content to hold groovy script examples and the sheet puts a {{code}} macro around the examples).

In addition @surli has a good point with:

ok, good point.


So the new updated proposal is:

  1. Add a menu level named “Content” and move the “WYSIWYG” and “Wiki” entries under it, to make it clearer that they are about editing the content only.
  2. Rename “WYSIWYG” into “Standalone WYSIWYG” to make it consistent with “In-place WYSIWYG” (see below)
  3. Add a menu level named “Form” that replaces “Inline form” and under it add an entry “Standalone WYSIWYG” that you’d choose for form editing with the standalone WYSIWYG editor.
  4. Add a new “In-place WYSIWYG” entry under “Form” for the cases when the user’s default editor is not the inplace one. Note: We could decide to display that entry only the default editor is NOT the inplace one.
  5. (optional) Remove the “Standalone WYSIWYG” entry under “Form” when the page has no sheet. I’ve always found it strange to click that mode when there’s no sheet. You just view something but you cannot edit anything and you have the save buttons and all. I just hope it’s not costly to find out that there’s no form.
  6. Add a “MetaData” menu entry and move “Objects” and “Class” under it.

This would allow to add 2 entries for the Blocknote editor: one under “Content” and one under “Form” and the label could be “BlockNote” or “BlockNote WYSIWYG”.

WDYT?

PS: I’m so used to what we have now that it feels a bit strange but 1) this is for advanced users and 2) what we have is not very consistent and with the introduction of BlockNote it might be even weirder to not change anything.

Thx