P
P
phmphx2013-11-15 03:40:46
PHP
phmphx, 2013-11-15 03:40:46

Spoiler in tinymce

Can you please tell me which plugin to use for proper placement of a spoiler in TinyMCE and how to display a spoiler with a link to full reading in the list of articles? That is, please explain the interaction with the database, so I understand that in the case of using a spoiler in the database, a separate entry is entered in a separate column with the contents of the first lines? or how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2013-11-15
@merdoc

In the table, you make one more preview field, before saving, the parser parses the input text. For example, you can set it to the hr tag. In the text, add the cut anchor to the tag.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question