How to save rich text editor to database? In what format is it saved? How to read?
1), wait for the front-end data through the content in the javascript code.
2), save it in the data table as a string, the fields in the table must be tinytext, text, mediumtext and longtext types .
3), read using htmlspecialchars
http://fex.baidu.com/ueditor/
Please read more documents, thank you !
1), wait for the front-end data through the content in the javascript code.
2), save it in the data table as a string, the fields in the table must be tinytext, text, mediumtext and longtext types .
3), read using htmlspecialchars
http://fex.baidu.com/ueditor/
Please read more documents, thank you !