Monday, 22 June 2009

Daisy CMS - allowing attributes in the SimpleDocument Editor

We had noticed that when using the SimpleDocument Editor in Daisy, although attributes can be added freehand (using the html view), there was a process that seemed to be running after save that removed many attributes.

I have since discovered that editing $DAISY_HOME/dasiywiki/webapp/daisy/resources/conf/htmlcleaner.xml will allow for modifications to be made to these "cleaning" rules. For example: we wanted to be able to write out 'a' tags with class attributes within the editor. This change was made possible by editing htmlcleaner and making the following adjustments (for example):

No comments:

Blog Archive