"you just attach it to the textarea...": I don't quite follow. Can you expand please, do I add the <script> code to layout.html, do I need to actually download the plugin as the src points to the website ? This could be worth adding to the book as anyone using render='html' would want to add an editor.
Thanks On Sunday, December 16, 2012 8:32:23 AM UTC+13, Massimo Di Pierro wrote: > > In default MAKRMIN mode you can create blocks with classes with > > ``hello``:classname > > (standard markmin class) > > To switch from markmin to HTML you do: > > auth.wiki(render='html') > > (assuming you don't have data already in db) > > Then if you have a wysiwyg plugin you just attach it to the textarea. For > example assuming http://speckedit.com/demo this is done with: > > <script > src="http://speckedit.com/_library/2008/10/speck.js;<http://speckedit.com/_library/2008/10/speck.js>" > > type="text/javascript"></script><link href=" > http://speckedit.com/_library/2008/10/speck.css;<http://speckedit.com/_library/2008/10/speck.css>" > > rel="stylesheet" type="text/css" /><script>speckInit();</script> > > That should be all. > > On Saturday, 15 December 2012 11:26:23 UTC-6, Andrew W wrote: >> >> >> On developers forum, Massimo mentioned: >> >> > auth.wiki() supports html tags (float divs, tables, image uploading, >> etc.)? >> >> "yes. " >> >> How do I enter a generic tag like a div with a class? >> >> Also, >> "Notice that auth.wiki() can use wysiwyg if you simply set it up that way >> and including an appropriate js editor. " >> How ? >> >> --