taoguan / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
0 stars 0 forks source link

Add custom button. #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i'm using this with wordpress. how can i add button that make <!-- more -->
tag(article splitter)?

Original issue reported on code.google.com by ren...@gmail.com on 13 Aug 2009 at 6:28

GoogleCodeExporter commented 8 years ago
Use trunk version.

$('#editor').wysiwyg('insertHtml', '<!-- more -->');

You can transform it into button after reading of TOOLBAR definition.

Original comment by akzhan.a...@gmail.com on 8 Dec 2009 at 12:11