<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/web_editor/static/src/js/snippets.options.js, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[MOV] web_editor, website: reorganize files</title>
<updated>2017-08-16T08:59:39+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2017-06-07T15:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4f925af06fd3cebfcfb56eb947ab68c8a2ca4490'/>
<id>4f925af06fd3cebfcfb56eb947ab68c8a2ca4490</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web_editor: improve margins system UX</title>
<updated>2017-07-10T11:37:40+00:00</updated>
<author>
<name>stefanorigano</name>
<email>sri@odoo.com</email>
</author>
<published>2017-03-22T08:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d2251dcb0e0807498007e58d3f408968610487d1'/>
<id>d2251dcb0e0807498007e58d3f408968610487d1</id>
<content type='text'>
- Clearly show margins' size on editing

- Top margin icons/cursors: by an user point of view, adding a
  margin-top will move the content 'down', so change handler's icons
  and cursors accordingly

- Highlight handles during editing and if previously edited

- Vertically center handle's icon if enough room is available
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Clearly show margins' size on editing

- Top margin icons/cursors: by an user point of view, adding a
  margin-top will move the content 'down', so change handler's icons
  and cursors accordingly

- Highlight handles during editing and if previously edited

- Vertically center handle's icon if enough room is available
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website, web_editor: reorganize background snippet option</title>
<updated>2017-06-14T15:49:56+00:00</updated>
<author>
<name>dbh</name>
<email>dbh@odoo.com</email>
</author>
<published>2017-02-10T12:32:25+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2fe1b0c0a6b241492164a38661470424a2ed3cd2'/>
<id>2fe1b0c0a6b241492164a38661470424a2ed3cd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] website: properly rebind background events</title>
<updated>2017-06-01T15:08:49+00:00</updated>
<author>
<name>Dharmraj Jhala</name>
<email>dja@openerp.com</email>
</author>
<published>2017-03-03T10:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=dbdbfa74321e74353e969591b2dbacae73854ec4'/>
<id>dbdbfa74321e74353e969591b2dbacae73854ec4</id>
<content type='text'>
In carousel snippet, the target element for background snippet option is
being changed manually. So for the new target, we have to rebind the
associated events that were bound in `start` function of the snippet
option. For that, some code is extracted from the `start` function and
is used to rebind necessary events for new targets.

In particular, this was preventing the carousel slides' backgrounds to
be automatically removed when a background-color was selected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In carousel snippet, the target element for background snippet option is
being changed manually. So for the new target, we have to rebind the
associated events that were bound in `start` function of the snippet
option. For that, some code is extracted from the `start` function and
is used to rebind necessary events for new targets.

In particular, this was preventing the carousel slides' backgrounds to
be automatically removed when a background-color was selected.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-12 up to 7134aff</title>
<updated>2016-09-28T14:28:31+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2016-09-28T14:28:31+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a7ba6cde9c7951fa54cf031deb3bebc8d511bf95'/>
<id>a7ba6cde9c7951fa54cf031deb3bebc8d511bf95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] website, *: properly process saving from editor dialogs</title>
<updated>2016-09-27T13:42:31+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2016-09-27T13:30:08+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=5f98040430ab0ce750382cc0faf57146f8759752'/>
<id>5f98040430ab0ce750382cc0faf57146f8759752</id>
<content type='text'>
* web_editor, website_blog

Since recent refactoring, web editor dialogs automatically trigger
an event when closed (saved or cancel). The problem is that there
still was manual trigger of those events or variants ("save" instead
of "saved").

To prevent multi-saving and be consistent, all save events are now
automatically triggered on save/close (no more manual) and the event
name is "save".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* web_editor, website_blog

Since recent refactoring, web editor dialogs automatically trigger
an event when closed (saved or cancel). The problem is that there
still was manual trigger of those events or variants ("save" instead
of "saved").

To prevent multi-saving and be consistent, all save events are now
automatically triggered on save/close (no more manual) and the event
name is "save".
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website, web_editor, mass_mailing: move margin and size options</title>
<updated>2016-09-20T11:52:29+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2016-09-07T15:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=9749b93250fe0834f664fa6f0da27db6f51cd745'/>
<id>9749b93250fe0834f664fa6f0da27db6f51cd745</id>
<content type='text'>
website -&gt; web_editor so that they are available for mass_mailing.

To allow setting margins on td elements:

As the above mentionned option allows to control the mt and mb classes
on the mass mailing items, the problem is that we would ideally want it
to be functionnal on td element as they are the main part of a mail.
As they don't support margins, there were many options to fix the
problem:
- Add more JS to place the mt and mb classes on children of td element
- Place the option on children of td element and not td element itself
but in that case, the width control of td would imply a lot of parent
option hierarchy, or the width control had also to be adapted to control
children
- Control padding instead of margin. This forces to add lots of
css rules like pt4 pt8, ... (or td.mt4, td.mt8, ...).

The last solution has been chosen. Padding is more supported than
margins in mail client anyway and the css rules will be isolated in
the mail editor anyway. Using td.mt4 instead of pt4 had the advantage
to not require any JS modification.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
website -&gt; web_editor so that they are available for mass_mailing.

To allow setting margins on td elements:

As the above mentionned option allows to control the mt and mb classes
on the mass mailing items, the problem is that we would ideally want it
to be functionnal on td element as they are the main part of a mail.
As they don't support margins, there were many options to fix the
problem:
- Add more JS to place the mt and mb classes on children of td element
- Place the option on children of td element and not td element itself
but in that case, the width control of td would imply a lot of parent
option hierarchy, or the width control had also to be adapted to control
children
- Control padding instead of margin. This forces to add lots of
css rules like pt4 pt8, ... (or td.mt4, td.mt8, ...).

The last solution has been chosen. Padding is more supported than
margins in mail client anyway and the css rules will be isolated in
the mail editor anyway. Using td.mt4 instead of pt4 had the advantage
to not require any JS modification.
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port branch saas-12 up to 9f28139</title>
<updated>2016-09-09T16:13:31+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2016-09-09T16:13:31+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=298e2032ea3a8ef7aac3a606e2cbc420760fd4c9'/>
<id>298e2032ea3a8ef7aac3a606e2cbc420760fd4c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web_editor, website: add colorpicker palettes customizations</title>
<updated>2016-09-07T11:00:01+00:00</updated>
<author>
<name>stefanorigano</name>
<email>stefano.rigano@gmail.com</email>
</author>
<published>2016-09-06T08:06:33+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e1022f38a320ad10412b1c120f88fe79773f64f5'/>
<id>e1022f38a320ad10412b1c120f88fe79773f64f5</id>
<content type='text'>
* Add the ability to define palettes custom selection.
* Add the ability to define a custom title for the colorpicker dropdown
* Define a custom layout for single (unique) palette layout

* Define overlay color options based on new colopicker for
Cover and Banner text containers

* Define default palettes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add the ability to define palettes custom selection.
* Add the ability to define a custom title for the colorpicker dropdown
* Define a custom layout for single (unique) palette layout

* Define overlay color options based on new colopicker for
Cover and Banner text containers

* Define default palettes
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web_editor: change design of transparent colors palette</title>
<updated>2016-09-07T10:58:50+00:00</updated>
<author>
<name>stefanorigano</name>
<email>stefano.rigano@gmail.com</email>
</author>
<published>2016-09-05T13:39:05+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=5b8c93f073402e05d240ed866624f4eb49ff717a'/>
<id>5b8c93f073402e05d240ed866624f4eb49ff717a</id>
<content type='text'>
* Add a "transparent" button
* Add a special background for transparent background buttons

+ Some minor colorpicker design change
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a "transparent" button
* Add a special background for transparent background buttons

+ Some minor colorpicker design change
</pre>
</div>
</content>
</entry>
</feed>
