I am working on an application similar to moments, the vue framework, and now I want to implement when editing and sharing text, if there is a line break or space, how can other people see and maintain the same format of the text?

use this edit box, < div contenteditable= "true" >
when I edit a line wrap, it automatically adds a p tag, but I pass the data to the service and refresh the data obtained from the page to be displayed on the page, right? this tag is also displayed.


v-html instruction for rendering

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b312a0-3413b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b312a0-3413b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?