GetSimple Support Forum

Full Version: CKeditor, "more" tag...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
We discussed this somewhere else, there are a few implementations of this.
ckeditor has default support for pagebreaks, we would need to determine what to output.

Probably stick with wordpresses implementation or drupals.
I recently made a couple of buttons to ckeditor for another CMS, which inserts {cut} and [page]
you can do that with a template

I described it in the german website:

http://www.get-simple.de/editor-plugins/...einsetzen/
@Oleg06
I'm curious, can you post more info? (or PM it to me if you prefer)

@Connie
Thank you, I bookmark it for future reference.