Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johannes-editor/johannes

JavaScript Notion-inspired text editor.
https://github.com/johannes-editor/johannes

content-editable gutenberg gutenberg-blocks javascript nodejs notion post-editing text-editor typescript webpack wysiwyg

Last synced: 28 days ago
JSON representation

JavaScript Notion-inspired text editor.

Awesome Lists containing this project

README

        

# Johannes Editor

## CSS Classes

* `.focusable` - Indicates whether an element can be focused.
* `.focus` - Used to highlight the primary focusable element when multiple focusable elements are present.
* `.deletable` - Indicates that pressing the delete or backspace key on an empty element allows for its deletion. Pressing backspace focuses on the previous focusable element, and pressing delete focuses on the next focusable element.
* `.swittable` - Indicates that an element can change its type.
* `.draggable` - Denotes that an element is draggable.
* `.drag-handler` - Used in conjunction with the draggable="true" attribute to facilitate drag-and-drop functionality, typically applied to a button within a block.
* `.block` - General class for block elements.
* `.editable` - Used to focus the cursor when navigating the document with directional keys.
* `.key-trigger` - Specifies elements that trigger actions on key presses.
* `.johannes-editor` - Designates the main container of the Johannes Editor.
* `.johannes-content-element` - Specifies content elements within the Johannes Editor.

publish