On 12/21/2010 03:58 PM, Vincent Massol wrote: > > On Dec 21, 2010, at 2:45 PM, Marius Dumitru Florea wrote: > >> Hi devs, >> >> Following >> http://lists.xwiki.org/pipermail/devs/2010-November/021012.html I made >> some improvements and now I have this >> http://incubator.myxwiki.org/xwiki/bin/view/Improvements/WysiwygEditorConfig >> . I'd like to include it in XE 3.0. >> >> WDYT? > > Looks good, +1 >
> Question: is this per wiki, per space? > (for ex the feature to only select images from the current page may not be > valid wiki wide but only for a given space?) I'd like to have this configuration both at wiki and space level (maybe at user level too) but I can't do it properly because right now we don't have an inheritance mechanism to allow an administrator to overwrite at space level some of the WYSIWYG editor configuration parameters defined at wiki level. The root problem is that you can't say if an object property that has the default/empty value was explicitly set or not. Ideally I would do something like: 1. get tool bar configuration for current user. if not set then 2. get tool bar configuration for current space. if not set then 3. get tool bar configuration for current wiki. if not set then 4. get tool bar configuration for entire farm. if not set then 5. use default value Currently, overwriting one property means overwriting all the properties at the higher levels. Thanks, Marius > > Thanks > -Vincent > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

