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 know this is most likely an issue with prose mirror and how it makes you define every schema you use in the editor, but i was wondering if anyone here has had success with this.
The problem is that I'm building an email composer, and the initial content is what ever custom email signature that user has, so it's hard to predict all the possible formats i need to account for. Any chance someone would know how i could make it get inserted exactly how it is without the styles and fonts and stuff getting stripped? A random example would be here:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I know this is most likely an issue with prose mirror and how it makes you define every schema you use in the editor, but i was wondering if anyone here has had success with this.
The problem is that I'm building an email composer, and the initial content is what ever custom email signature that user has, so it's hard to predict all the possible formats i need to account for. Any chance someone would know how i could make it get inserted exactly how it is without the styles and fonts and stuff getting stripped? A random example would be here:
This is what the original signatre html is:
And here is what i get from getHTML() after passing that to the initialContent:
I understand that this may just not be possible without some serious changes but I'm hoping someone has solved a similar issue! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions