2012-12-09, 01:48:21
From time to time someone asks for excerpts that don't strip html tags (both in blog/news plugins and GS itself).
Would it be possible to have buttons in CKeditor that let you easily insert html snippets like:
If so, we could have a php function that extracts just the content until the "more" tag, to have this kind of "rich" excerpt.
(Some </div> or </p> could be missing after stripping it, so something should be done to fix this. I have to take a look at how WP does...)
Thoughts?
Would it be possible to have buttons in CKeditor that let you easily insert html snippets like:
Code:
<a name="more"></a>
or:
<!--more-->
and/or:
<!--more-->
If so, we could have a php function that extracts just the content until the "more" tag, to have this kind of "rich" excerpt.
(Some </div> or </p> could be missing after stripping it, so something should be done to fix this. I have to take a look at how WP does...)
Thoughts?