Skip to content

HAR-7163 - editor core infrastructure#11

Merged
harbournick merged 1 commit into
super-editorfrom
artem-editor-v2
Jun 27, 2024
Merged

HAR-7163 - editor core infrastructure#11
harbournick merged 1 commit into
super-editorfrom
artem-editor-v2

Conversation

@artem-harbour

@artem-harbour artem-harbour commented Jun 24, 2024

Copy link
Copy Markdown
Contributor

Linear:
https://linear.app/harbour/issue/HAR-7163/core-editor-infrastructure

Implemented most of the core infrastructure for working with the Editor.

Main classes:

  • Editor (src/core/Editor.js)
  • ExtensionService (src/core/ExtensionService.js)
  • CommandService (src/core/CommandService.js)
  • Schema (src/core/Schema.js)
  • Extension (src/core/Extension.js)
  • Node (src/core/Node.js)
  • Mark (src/core/Mark.js)
  • EventEmitter (src/core/EventEmitter.js)

Created several core extensions, all Node and Mark extensions for building the existing schema.

The schema is now created based on Node and Mark extensions.

@artem-harbour

Copy link
Copy Markdown
Contributor Author

FYI @harbournick, @mattConnHarbour - for informational purposes for now.

@artem-harbour
artem-harbour force-pushed the artem-editor-v2 branch 3 times, most recently from 74e4480 to 89f2df8 Compare June 27, 2024 14:20
@artem-harbour artem-harbour changed the title editor core infrastructure (WIP) HAR-7163 - editor core infrastructure (WIP) Jun 27, 2024
@artem-harbour artem-harbour self-assigned this Jun 27, 2024
@artem-harbour
artem-harbour marked this pull request as ready for review June 27, 2024 17:11
@artem-harbour artem-harbour changed the title HAR-7163 - editor core infrastructure (WIP) HAR-7163 - editor core infrastructure Jun 27, 2024

@harbournick harbournick left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - great infrastructure here to build on top of!

* @param defaultAttribute Default attribute.
* @returns Global extension attributes.
*/
static #getGlobalAttributes(extensions, defaultAttribute) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@harbournick
harbournick merged commit 4b25c3d into super-editor Jun 27, 2024
@harbournick
harbournick deleted the artem-editor-v2 branch August 23, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants