Processing...
Description & Source Code

Tbeditor is a rich text editor to be used inside web pages. It's a WYSIWYG editor, which means that the text being edited on it looks as similar as possible to the results users have when publishing it. The component wraps Trumbowyg

tbeditor.zul
<zk xmlns:h="native">
	<h:h2>Default</h:h2>
	<tbeditor/>

	<h:h2>Customized</h:h2>
	<tbeditor id="editor"/>
	<zscript><![CDATA[
Map config = new HashMap();
config.put("btns", new String[] {"bold", "italic", "link"});
config.put("closable", true);
editor.setConfig(config);
	]]></zscript>
</zk>