Skip to content

Always disable cache element on paste#1836

Merged
BryanValverdeU merged 3 commits into
masterfrom
u/bvalverde/alwaysDisableCacheOnPaste
May 26, 2023
Merged

Always disable cache element on paste#1836
BryanValverdeU merged 3 commits into
masterfrom
u/bvalverde/alwaysDisableCacheOnPaste

Conversation

@BryanValverdeU

@BryanValverdeU BryanValverdeU commented May 26, 2023

Copy link
Copy Markdown
Contributor

We need to disable the caching of elements on paste, otherwise in some scenarios, for example for table cells, we do not apply the correct format if the editor is in dark mode.

This PR adds the disableCacheElements to the domToContentModel when invoking createPasteModel

@BryanValverdeU
BryanValverdeU merged commit f933a6d into master May 26, 2023
@BryanValverdeU
BryanValverdeU deleted the u/bvalverde/alwaysDisableCacheOnPaste branch May 26, 2023 17:25
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