<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/web_editor/static/src/js/wysiwyg/plugin/helper.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>[REV] wev_editor, website: revert saas-12.2 editor</title>
<updated>2019-08-21T18:52:36+00:00</updated>
<author>
<name>Gorash</name>
<email>chm@odoo.com</email>
</author>
<published>2019-08-20T06:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=35b61822a8b12ebbdb455495479df6f2e13db03e'/>
<id>35b61822a8b12ebbdb455495479df6f2e13db03e</id>
<content type='text'>
This commit reverts the saas-12.2 editor by putting back the editor
of Odoo 12.

The saas-12.2 editor was an intermediate work between the previous
editor of Odoo 12 and the new one slated for Odoo 13. It was unstable
but it was supposed to be replaced by the new editor of version 13.

However, since the new editor has been postponed to Odoo 14, the
saas-12.2 one would have been staying in Odoo 13, which would have
been a nightmare to maintain. To avoid this outcome, we chose to
put back the 12.0 editor in its place.

This has the particular advantage that Odoo 13 will share the same
bugfixes as Odoo 12 and 11 as they all run under the same core
editor, while the saas-12.2 one would have been an entirely
different beast to maintain.

This is a partial revert of f2969923.

Part of PR 35677.

Co-authored-by: Nicolas Bayet &lt;nby@odoo.com&gt;
Co-authored-by: Antoine Guenet &lt;age@odoo.com&gt;
Co-authored-by: Christophe Matthieu &lt;chm@odoo.com&gt;
Co-authored-by: David Monjoie &lt;dmo@odoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit reverts the saas-12.2 editor by putting back the editor
of Odoo 12.

The saas-12.2 editor was an intermediate work between the previous
editor of Odoo 12 and the new one slated for Odoo 13. It was unstable
but it was supposed to be replaced by the new editor of version 13.

However, since the new editor has been postponed to Odoo 14, the
saas-12.2 one would have been staying in Odoo 13, which would have
been a nightmare to maintain. To avoid this outcome, we chose to
put back the 12.0 editor in its place.

This has the particular advantage that Odoo 13 will share the same
bugfixes as Odoo 12 and 11 as they all run under the same core
editor, while the saas-12.2 one would have been an entirely
different beast to maintain.

This is a partial revert of f2969923.

Part of PR 35677.

Co-authored-by: Nicolas Bayet &lt;nby@odoo.com&gt;
Co-authored-by: Antoine Guenet &lt;age@odoo.com&gt;
Co-authored-by: Christophe Matthieu &lt;chm@odoo.com&gt;
Co-authored-by: David Monjoie &lt;dmo@odoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: avoid dialog error on email edition</title>
<updated>2019-07-15T09:26:29+00:00</updated>
<author>
<name>Gorash</name>
<email>chm@odoo.com</email>
</author>
<published>2019-07-15T09:26:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=2c27d6c9257fbc28d4801a0b32a0b9921c509af5'/>
<id>2c27d6c9257fbc28d4801a0b32a0b9921c509af5</id>
<content type='text'>
Under certain unknown conditions, the range cannot be applied and
triggered an error. In order to allow the user to keep editing, we need
to prevent the dialog from showing, hence the use of `console.error`.
If this error appears, the carret is moved to the beginning of the focused
node.
If this error appears, then bullet can generate an error (I managed to
have the bug once or simulate it by manually breaking the dom and range)

We suspect a wrong snippet custom javascript code.

see: https://github.com/odoo/odoo/pull/34188

closes odoo/odoo#34871

Signed-off-by: VincentSchippefilt &lt;VincentSchippefilt@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under certain unknown conditions, the range cannot be applied and
triggered an error. In order to allow the user to keep editing, we need
to prevent the dialog from showing, hence the use of `console.error`.
If this error appears, the carret is moved to the beginning of the focused
node.
If this error appears, then bullet can generate an error (I managed to
have the bug once or simulate it by manually breaking the dom and range)

We suspect a wrong snippet custom javascript code.

see: https://github.com/odoo/odoo/pull/34188

closes odoo/odoo#34871

Signed-off-by: VincentSchippefilt &lt;VincentSchippefilt@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: properly insert character in empty nested list</title>
<updated>2019-07-11T14:41:12+00:00</updated>
<author>
<name>Antoine Guenet</name>
<email>age@odoo.com</email>
</author>
<published>2019-07-11T13:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e7828c362718b40ed74920a1ce3619766fa84ff2'/>
<id>e7828c362718b40ed74920a1ce3619766fa84ff2</id>
<content type='text'>
Fix a bug that can be reproduced like so:
- Insert list
- Type char
- ENTER
- TAB
- Type char
The character gets inserted _after_ the `br` instead of replacing it.

closes odoo/odoo#34805

Signed-off-by: Pierre Paridans &lt;pparidans@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a bug that can be reproduced like so:
- Insert list
- Type char
- ENTER
- TAB
- Type char
The character gets inserted _after_ the `br` instead of replacing it.

closes odoo/odoo#34805

Signed-off-by: Pierre Paridans &lt;pparidans@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: avoid dialog error on email edition</title>
<updated>2019-06-20T13:25:37+00:00</updated>
<author>
<name>Gorash</name>
<email>chm@odoo.com</email>
</author>
<published>2019-06-17T13:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=82bf73fe3049978d5fa0b6984e129c5aa2870d95'/>
<id>82bf73fe3049978d5fa0b6984e129c5aa2870d95</id>
<content type='text'>
Under certain unknown conditions, the range cannot be applied and
triggered an error. In order to allow the user to keep editing, we need
to prevent the dialog from showing, hence the use of `console.error`.
If this error appears, the carret is moved to the beginning of the focused
node.
If this error appears, then bullet can generate an error (I managed to
have the bug once or simulate it by manually breaking the dom and range)

closes odoo/odoo#34284

Signed-off-by: Nicolas Martinelli (nim) &lt;nim@odoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under certain unknown conditions, the range cannot be applied and
triggered an error. In order to allow the user to keep editing, we need
to prevent the dialog from showing, hence the use of `console.error`.
If this error appears, the carret is moved to the beginning of the focused
node.
If this error appears, then bullet can generate an error (I managed to
have the bug once or simulate it by manually breaking the dom and range)

closes odoo/odoo#34284

Signed-off-by: Nicolas Martinelli (nim) &lt;nim@odoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: properly merge a LI with text with a LI with text in P</title>
<updated>2019-04-25T10:03:05+00:00</updated>
<author>
<name>Antoine Guenet</name>
<email>age@odoo.com</email>
</author>
<published>2019-04-16T10:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cb9263a8233894459e2238711d1633c1b7995de9'/>
<id>cb9263a8233894459e2238711d1633c1b7995de9</id>
<content type='text'>
A list item with text can be written as &lt;li&gt;text&lt;/li&gt; or as
&lt;li&gt;&lt;p&gt;text&lt;/p&gt;&lt;/li&gt;. Issues occurred when both syntaxes need to be
merged together. Namely, the &lt;p&gt;text&lt;/p&gt; was being appended to the other
list item, thereby creating a visible new line.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A list item with text can be written as &lt;li&gt;text&lt;/li&gt; or as
&lt;li&gt;&lt;p&gt;text&lt;/p&gt;&lt;/li&gt;. Issues occurred when both syntaxes need to be
merged together. Namely, the &lt;p&gt;text&lt;/p&gt; was being appended to the other
list item, thereby creating a visible new line.</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: properly handle delete in nested lists of all syntaxes</title>
<updated>2019-04-25T10:03:00+00:00</updated>
<author>
<name>Antoine Guenet</name>
<email>age@odoo.com</email>
</author>
<published>2019-04-16T08:10:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=41088bb311c8db92242c4c2479f307fb6e5731c4'/>
<id>41088bb311c8db92242c4c2479f307fb6e5731c4</id>
<content type='text'>
This addresses various bugs that occured with nested lists - including
lists that are nested with a UL within a LI (as opposed to a UL directly
within another UL).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This addresses various bugs that occured with nested lists - including
lists that are nested with a UL within a LI (as opposed to a UL directly
within another UL).</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: stop wrapping text in p on delete in anchor</title>
<updated>2019-02-19T09:46:28+00:00</updated>
<author>
<name>Antoine Guenet</name>
<email>age@odoo.com</email>
</author>
<published>2019-02-19T07:04:32+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d9a77bd84610cf638b578d7b3f180bd8c234add6'/>
<id>d9a77bd84610cf638b578d7b3f180bd8c234add6</id>
<content type='text'>
This notably fixes a bug with the accordion snippet (website) where
selecting a title and typing seemed to add a newline.

closes odoo/odoo#31222</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This notably fixes a bug with the accordion snippet (website) where
selecting a title and typing seemed to add a newline.

closes odoo/odoo#31222</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] *: various docstring formatting issues</title>
<updated>2019-02-18T08:56:07+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2019-02-05T10:38:06+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7065ea520c26d96e85f4e887fe871a58ae87a811'/>
<id>7065ea520c26d96e85f4e887fe871a58ae87a811</id>
<content type='text'>
Would yield block quotes instead of code blocks or lists or whatnot.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Would yield block quotes instead of code blocks or lists or whatnot.</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor: various levels of broken in docstrings</title>
<updated>2019-02-18T08:55:57+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2019-02-05T10:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3f8d20b7785af4749e852461f0bd8a077b52e87e'/>
<id>3f8d20b7785af4749e852461f0bd8a077b52e87e</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: handle CTRL+A (and then DELETE) locally</title>
<updated>2019-02-04T09:44:18+00:00</updated>
<author>
<name>Antoine Guenet</name>
<email>age@odoo.com</email>
</author>
<published>2019-01-28T14:34:40+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=48cb3c71d12711b4ce173b985a59faf334738058'/>
<id>48cb3c71d12711b4ce173b985a59faf334738058</id>
<content type='text'>
This fixes issues with CTRL+A then delete.
Now CTRL+A selects all the contents of the unbreakable node in
which the range is contained. Deleting it all will replace the contents
with `&lt;p&gt;&lt;br&gt;&lt;/p&gt;` so the user can start editing afresh.

Note: Only CTRL+A is handled: ``select all`` in contextual and edit
menus are still handled by the browser.

closes odoo/odoo#30648</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes issues with CTRL+A then delete.
Now CTRL+A selects all the contents of the unbreakable node in
which the range is contained. Deleting it all will replace the contents
with `&lt;p&gt;&lt;br&gt;&lt;/p&gt;` so the user can start editing afresh.

Note: Only CTRL+A is handled: ``select all`` in contextual and edit
menus are still handled by the browser.

closes odoo/odoo#30648</pre>
</div>
</content>
</entry>
</feed>
