Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CARE-1802] Refactor - Extensions model #504

Draft
wants to merge 55 commits into
base: main
Choose a base branch
from

Conversation

e1himself
Copy link
Contributor

No description provided.

Each using the `useRegisterExtension()` hook to wire into the editor functionality.

� Conflicts:
�	packages/slate-editor/src/extensions/file-attachment/FileAttachmentExtension.tsx
�	packages/slate-editor/src/extensions/galleries/GalleriesExtension.tsx
�	packages/slate-editor/src/extensions/image/ImageExtension.tsx
�	packages/slate-editor/src/extensions/loader/LoaderExtension.tsx
Conflicts:
- packages/slate-editor/src/modules/editor/getEnabledExtensions.ts

� Conflicts:
�	packages/slate-editor/src/modules/editor/Editor.tsx
�	packages/slate-editor/src/modules/editor/getEnabledExtensions.ts
� Conflicts:
�	packages/slate-editor/src/modules/editor/Editor.tsx
No need to do the `onKeyDownList` & `onKeyDownDeps` yada-yada
…n folder

� Conflicts:
�	packages/slate-editor/src/extensions/snippet/SnippetsExtension.tsx
…nuExtension`

� Conflicts:
�	packages/slate-editor/src/modules/editor/Editor.tsx
�	packages/slate-editor/src/modules/editor/Extensions.tsx
…icient UI component

Related to 8d2a5e3

� Conflicts:
�	packages/slate-editor/src/extensions/snippet/SnippetsExtension.tsx
�	packages/slate-editor/src/modules/editor/Extensions.tsx
� Conflicts:
�	packages/slate-editor/src/modules/editor/Editor.tsx
…verrides to the ExtensionsEditor definition
… hook

Without relying on `withOverrides()`

� Conflicts:
�	packages/slate-editor/src/extensions/paste-slate-content/lib/withSlatePasting.ts
�	packages/slate-editor/src/modules/editor/Extensions.tsx
…an Extension

� Conflicts:
�	packages/slate-editor/src/modules/editor/createEditor.ts
�	packages/slate-editor/src/modules/editor/plugins/index.ts
�	packages/slate-editor/src/modules/editor/plugins/withDeserializeHtml/withDeserializeHtml.ts
…extension hook

Instead of relying on the hard-to-maintain `withOverrides` extension feature

� Conflicts:
�	packages/slate-editor/src/extensions/loader/index.ts
�	packages/slate-editor/src/extensions/loader/transforms/index.ts
�	packages/slate-editor/src/extensions/loader/transforms/insertUploadingFile.ts
�	packages/slate-editor/src/extensions/paste-files/PasteFilesExtension.ts
�	packages/slate-editor/src/extensions/paste-files/lib/index.ts
�	packages/slate-editor/src/extensions/paste-images/PasteImagesExtension.ts
�	packages/slate-editor/src/extensions/paste-images/lib/index.ts
Consolidate file attachments management inside `FileAttachmentExtension` module

� Conflicts:
�	packages/slate-editor/src/extensions/paste-files/lib/createDataTransferHandler.ts
�	packages/slate-editor/src/extensions/placeholders/PlaceholdersManager.ts
�	packages/slate-editor/src/extensions/placeholders/elements/AttachmentPlaceholderElement.tsx
�	packages/slate-editor/src/extensions/placeholders/index.ts
�	packages/slate-editor/src/modules/events/types.ts
Base automatically changed from refactor/care-1802-drop-loader-extension to main December 12, 2023 16:03
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.

1 participant