You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to modify the config in the markdown under the simpleExtensions. I am planning to make transformCopiedText as false. Is there any way I can do it? Thankss in advance
Describe the solution you'd like to see
It is better if we can overwrite the extensions in simpleExtensions just like the rest of extensions.
Additional information
No response
The text was updated successfully, but these errors were encountered:
I think you can do it like this, a agree actualitythis is not the best way to do this, but it working expected for me :)
// sure you have tiptap-markdown installed in you projectimport{Markdown}from"tiptap-markdown";import{simpleExtensionsasnovelSimpleExtensions}from"novel/extensions";constmarkdown=Markdown.configure({// your config});// remove markdown extension from simpleExtensions arrayexportconstsimpleExtensions=novelSimpleExtensions.filter((ext)=>ext.name!=="markdown");// export your custom config of markdown extension and another extensionsexportconstdefaultExtensions=[// rest of extensionmarkdown,
...simpleExtensions]
Describe the feature you'd like to request
I am trying to modify the config in the markdown under the
simpleExtensions
. I am planning to maketransformCopiedText
as false. Is there any way I can do it? Thankss in advanceDescribe the solution you'd like to see
It is better if we can overwrite the extensions in
simpleExtensions
just like the rest of extensions.Additional information
No response
The text was updated successfully, but these errors were encountered: