_
_
_umr2016-10-09 17:50:37
WYSIWYG
_umr, 2016-10-09 17:50:37

How to get data from wysiwyg?

From such an editor, everything is written to the database along with tags. How to do it right so as not to store tags in the database, because it is simply not safe

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
D', 2016-10-09
@Umr001

>Как правильно сделать, чтобы не хранить теги в базе, ведь это элементарно не безопасно
Очевидно не использовать wysiwyg редактор, а использовать обычный textarea.
В использовании wysiwyg редактора нет никакого смысла если не сохранять форматирование.

O
OnYourLips, 2016-10-09
@OnYourLips

https://packagist.org/packages/ezyang/htmlpurifier

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question