[Vuejs]-Vue html/text editor v-html not working when posted/put (added/edited)

0👍

The rich text editor is returning a html string which can be directly used in v-html.

So replace marked(announcement.message, { sanitize: true })

With: "message": announcement.message

Here’s an example using CKeditor: https://jsfiddle.net/ellisdod/5g1cptjb/

Leave a comment