Worked on pp2lino¶
New field street_prefix in
is needed because snail mailings need to be sorted by street, and street
names in french may have a prefix that must be printed but is not relevant
for the sort order.
A stupid bug caused the Layout Editor for .dtl to not work.
Some optimization in
Used to always set the level for the terminal to INFO. Now only if there is a logfile.
Changed default value of maxBytes from 100K to 1MB, changed default value of backupCount from 5 to 10. Both parameters may now be overridden in
Making TinyMCE readonly¶
There ws a bug in Ext.ux.TinyMCE : the disable() function didn’t set the disabled property to true. I need this when opening TinMCE in a separate window (where it will get its readonly config option from panel.editor.disabled).
Getting the inline TinyMCE readonly is more tricky. Ext.ux.TinyMCE’s disable()
function sets the class to mceNonEditable, so I added the following style
color: blue !important;
But that wasn’t enough, I also had to set tinymceSettings.content_css
'/media/lino/extjs/lino.css' because otherwise TinyMCE looks only
at its own (theme.dependant) CSS.
Aha, there’s a plugin called “noneditable”. That helps. It disables all buttons and makes the text noneditable.
One detail left: it updates only when the user clicks into the text area. Since the text color is already blu before, that’s only cosmetic.
Checkin 20110609b, but the release is for tomorrow.
Maybe this will help: http://tinymce.moxiecode.com/forum/viewtopic.php?id=13337