i7MEDIA / mojoportal

mojoPortal is an extensible, cross database, mobile friendly, web content management system (CMS) and web application framework written in C# ASP.NET.
https://www.mojoportal.com
Other
198 stars 100 forks source link

ckEditor 5 #230

Open JosephMDavis opened 12 months ago

ElijahFowler commented 9 months ago

Thank you for your work on getting this moving.

Looking over the branch I spot a handful of things that need to addressed.

  1. Pressing "Enter" (with any key combo) submits the form. We cannot insert a new paragraph at the moment.
  2. We need to be able to use mojo's file picker and file manager to insert links and images into the content.
  3. We need to be able to use custom configuration files similar to CKEditor 4 to allow configuration without pasting a bunch of JSON in the web config settings (long term plan is to make the web config as lean as possible).
  4. We need to support mojo's Content Templates and CSS Style Templates features (see SkinConfig and EditorStyle for styles and CkEditorTemplates.ashx for templates; we're likely going to re-implement templates the same way as EditorStyle soon).

Thanks, Elijah

jedelfraisse commented 9 months ago

Thank you for testing. There was a major release, but of things changed. It at least has it started. I will look into using the mojo file picker, Templates, etc. For some of the settings, we could put them into the main settings for each site could have it own.

jedelfraisse commented 9 months ago

Just had another thought. If developers want to use the implementation of ckEditor in their own add-ons, they should be able to specify what buttons are visible when calling the object.

JosephMDavis commented 9 months ago

Just had another thought. If developers want to use the implementation of ckEditor in their own add-ons, they should be able to specify what buttons are visible when calling the object.

Agreed. Would be good to allow for this from the SkinConfig (skinname/config/config.js) as well for designers.

Also, I just pushed code implementing styles in the SkinConfig. See SkinConfig and EditorStyle classes.