[daisy] Custom HTML Area

netjunki ben at netjunki.org
Wed Mar 5 12:14:15 CST 2008


I'd start by looking at this article in the Daisy Wiki for adding custom
writing styles to Daisy:
http://cocoondev.org/wiki/g1/215-cd.html

If you want to delve more deeply after that the editor code can be found
here (from $DAISY_HOME):
daisywiki/webapp/daisy/resources/js/daisy_edit.js - Daisy editor loader
daisywiki/webapp/daisy/resources/cocoon/forms/htmlarea - HTMLArea editor
sources

If you want to do anything complicated I'd recommend trying to build a
plugin for HTMLArea so you don't need to poke around with its code directly.

Ben



Michael Halpin-2 wrote:
> 
> I have been hard coding custom styles on my server running daisy. Most
> of my styling will be done via the drop down menu on the edit document
> screen. I have discovered that everything in that drop down list by
> default gets applied to the whole paragraph. I would like to make it so
> that some of the styles get applied to paragraphs and some get applied
> to the selected text as  elements. I haven't been able to locate
> the code that handles this. Any help would be greatly appreciated.
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> 
> 

-- 
View this message in context: http://www.nabble.com/Custom-HTML-Area-tp15854712p15855617.html
Sent from the Daisy - General mailing list archive at Nabble.com.



More information about the daisy mailing list