summaryrefslogtreecommitdiff
path: root/addons/website/static/lib/ckeditor/plugins/bbcode
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-09-09 17:23:12 +0200
committerXavier Morel <xmo@openerp.com>2013-09-09 17:23:12 +0200
commitca40afd144b58afee97cf88f7adf22872a37dc6e (patch)
tree7aca185a4507427b8a34c60925624630682b2126 /addons/website/static/lib/ckeditor/plugins/bbcode
parent2cbfb88437797c4d5d83df8ec12c8d15f1bfc619 (diff)
[FIX] necessary widget implementation
``inline`` is now automatically inferred on a per-widget basis if not specified. ``inline`` true|false tells the widget whether it should work on inlines (e.g. span) or blocks (e.g. p). Specifying the wrong one blows up because the wrapper is incorrect (inline==false on an inline element will wrap it in a div and add linefeeds, inline==true on a block element will wrap it in a span which will automatically split up in multiple elements leading to downcast blowing up because the wrong wrapper will be selected). Since last time, inline inference was added: if *unspecified* widget will check what type of object it's called on (using ``CKEDITOR.dtd.$inline``) and generate the correct wrapper for that type. => fix misbehavior by removing explicit inline spec. Also remove unused init and data methods. bzr revid: xmo@openerp.com-20130909152312-1m5kwvgw04gcrfkv
Diffstat (limited to 'addons/website/static/lib/ckeditor/plugins/bbcode')
0 files changed, 0 insertions, 0 deletions