diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-09-23 15:49:14 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-09-23 15:49:14 +0200 |
| commit | f040cfc7b1b8cfcdaddc3c2ea36110e886a8e47d (patch) | |
| tree | ff09282164cad3e6763115144ac6f26353c4a068 /addons/website/static/src/js | |
| parent | 5c9bdf1dcbe7950f409b813912e8cb0a5bd0ed85 (diff) | |
[FIX] placeholder image when edition starts
it's apparently better when it's completely broken and can't be edited. YMMV
bzr revid: xmo@openerp.com-20130923134914-1si4fz8fg72iktvw
Diffstat (limited to 'addons/website/static/src/js')
| -rw-r--r-- | addons/website/static/src/js/website.editor.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index 0c32cf40fb2..945164dfed8 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -406,6 +406,9 @@ allowedContent: true, // Don't insert paragraphs around content in e.g. <li> autoParagraph: false, + // Don't automatically add or <br> in empty block-level + // elements when edition starts + fillEmptyBlocks: false, filebrowserImageUploadUrl: "/website/attach", // Support for sharedSpaces in 4.x extraPlugins: 'sharedspace,customdialogs,tablebutton,oeref', |
