fix: custom color extension markdown rule added now (#6471)

This commit is contained in:
M. Palanikannan 2025-01-28 20:20:23 +05:30 committed by GitHub
parent 6003c88d62
commit 940b5e4e44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,6 +93,19 @@ export const CustomColorExtension = Mark.create({
};
},
addStorage() {
return {
markdown: {
serialize: {
open: "",
close: "",
mixable: true,
expelEnclosingWhitespace: true,
},
},
};
},
parseHTML() {
return [
{