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

Tiptap RTE: Ensure core extension is loaded #18382

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

leekelleher
Copy link
Member

Description

We previously moved some of the Tiptap RTE core extensions to a bundled "Rich Text Essentials" extension, however we found that our unit test doesn't register the manifests, so the core extension isn't loaded in. This PR refactors how the core extension is loaded to use the api class directly.

How to test?

Try running the test and checking if there are any errors/warnings/logs.

npx web-test-runner .\src\packages\tiptap\property-editors\tiptap\property-editor-ui-tiptap.test.ts

The unit test doesn't register the manifests, so we'll need
to hard code loading the "Rich Text Essentials" extension.
Copy link
Contributor

@iOvergaard iOvergaard left a comment

Choose a reason for hiding this comment

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

Always nice to see CodeScene being happy ;-)

@iOvergaard iOvergaard enabled auto-merge (rebase) February 19, 2025 10:40
@iOvergaard iOvergaard merged commit 28fb7ad into v15/dev Feb 19, 2025
24 checks passed
@iOvergaard iOvergaard deleted the v15/chore/tiptap-core-ext branch February 19, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants