Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKeditor, "more" tag...
#1
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:

Code:
<a name="more"></a>

or:

<!--more-->

and/or:

&lt;!--more--&gt;

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?
Reply


Messages In This Thread
CKeditor, "more" tag... - by Carlos - 2012-12-09, 01:48:21
RE: CKeditor, "more" tag... - by shawn_a - 2012-12-09, 03:46:57
RE: CKeditor, "more" tag... - by Oleg06 - 2013-03-23, 23:25:59
RE: CKeditor, "more" tag... - by Connie - 2013-03-25, 02:34:23
RE: CKeditor, "more" tag... - by Carlos - 2013-03-27, 05:42:08



Users browsing this thread: 1 Guest(s)