Jörn Nettingsmeier schrieb: > hi everyone! > > > currently, we use the "rendertype" parameter to provide editor-specific > hacks. imho, we should get rid of it for 1.4.1, for a number of reasons: > > * introduces needless complexity in the publication sitemap > * violates SoC since doctype modules must provide editor hacks (see > modules/xhtml/xslt/xhtml2xhtml.xsl: the XHTML module puts in a > bxe-specific tag. same goes for the homepage module.
I agree to these concerns. But how should we determine whether to add the bxe_xpath attribute without using the rendertype parameter? The BXE-editable areas depend on the resource type. Maybe we can add the bxe_xpath attributes by default and filter them out for the view mode in a single place, preferrably in the bxe module? > * does roughly the same as doctype formats, but in an inconsistent way > all other doctype modules pass the parameter on to their xhtml2xhtml > stylesheets, but do nothing with it. many lines of code can be removed. > > i guess that tinymce demonstrates that there is no need for global > editor hacks - they can be added in a module sitemap just as easily, > without polluting global sitemaps and SoC violations. > > i'd like to file this issue as a "critical" bug for 1.4.1. wdyt? We should definitely think about this issue, but I don't think it is critical. -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
