Codemirror as default view

Created on 11 January 2023, over 2 years ago
Updated 18 January 2023, about 2 years ago

Missing startup mode selection

In previous versions of the module, you were able to select codemirror as the default mode for a text format. I have many blocks configured for HTML editing which would be broken if saved in - for example - full html.

Is there a plan to bring this back?

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States codeelegance

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States justcaldwell Austin, Texas

    We use CodeMirror Editor β†’ to edit code-only blocks. Works great for our needs.

  • πŸ‡ΊπŸ‡ΈUnited States wells Seattle, WA

    Ooooh that looks good. Anyone know if CodeMirror Editor has feature parity with CKEditor CodeMirror? I haven't been able to devote much time to maintenance here so if that module is using a more up-to-date API and is better maintained I'm happy to recommend it over this one.

  • πŸ‡ΊπŸ‡ΈUnited States justcaldwell Austin, Texas

    I think the two fill different needs. This module (greatly) improves the user experience when using ckeditor's view/edit source feature, with the ckeditor wysiwyg still intended to be the primary editing mode.

    CodeMirror Editor is a dedicated editor for code and would be associated with it's own text format.

  • πŸ‡ΊπŸ‡ΈUnited States wells Seattle, WA

    Ahh ok. Makes sense. Thanks.

    Maybe it does mean we could make that a recommendation for this particular feature need. As I said two years ago... there was some reason I wasn't able to keep this feature in the updated version of CodeMirror.

  • πŸ‡ΊπŸ‡ΈUnited States justcaldwell Austin, Texas

    Maybe it does mean we could make that a recommendation for this particular feature need.

    Makes sense to me. That's definitely how we're using it.

Production build 0.71.5 2024