Commit Graph

21 Commits (067d1a55c471c4322db4d49bbc4be05eeca205e5)

Author SHA1 Message Date
Simone Orsi 9f28948593 web_ckeditor4: fix no re-init on form discard
When you hit "cancel" button or when you navigate away from the form,
for instance by clicking on the breadcrumb or on  "edit translations",
we have to remove the CKEditor widget.
It happens the same if you click on a main menu item
(eg: you are on sale order create form and you click on
Sales -> Quotations to get back to the tree view).

BUT then if you hit "create" Odoo's form machinery is not initializing
the widget anymore, which really sounds inconsistent.
If the widget is not initialized again it means that if CKEditor
got destroyed there's no way to re-init again.

Here we make sure that on create (no id on datarecord)
if the editor is not initialized yet we force it.
2019-03-26 13:16:25 +01:00
Simone Orsi 6b074b3729 web_ckeditor4: split default config 2019-03-25 16:27:17 +01:00
oca-travis 15930cc2e4 [UPD] Update web_ckeditor4.pot 2018-10-31 13:32:55 +00:00
George Daramouskas 3371fe5f6b [PORT] Port web_ckeditor4 to 10.0 2018-10-31 14:04:04 +01:00
Pedro M. Baeza 648315dadf [MIG] Rename manifest files 2016-10-06 16:13:01 +02:00
Pedro M. Baeza 8a9710a005 [MIG] Make modules uninstallable 2015-10-14 02:57:05 +02:00
Stéphane Bidoul fa199590b3 [UPD] prefix versions with 8.0 2015-10-09 10:03:39 +02:00
StefanRijnhart e8da6a9329 [FIX] Now that we actually destroy editors, we need another check for their currentness
Fixes #176
2015-07-23 18:40:44 +02:00
Stefan Rijnhart 03f2c44e72 [IMP] OCA conventions 2015-07-10 18:31:13 +02:00
Stefan Rijnhart a190e20a65 [FIX] Include patch to solve referencing the editor's iframe which
is cleaned up untimely in x2many popups.

https://github.com/ckeditor/ckeditor-dev/pull/200/files
2015-07-10 18:31:05 +02:00
Stefan Rijnhart a8040999ff [FIX] Destroy the editor properly. This prevents errors like
'this.getWindow(...).$ is undefined' in Firefox after closing
a popup containing an editor instance.
was opened in a popup window.
2015-07-07 18:08:56 +02:00
Holger Brunn c6719aef4a [IMP] monkey patch lxml's html cleaner
in order to allow image data urls
2015-03-04 10:00:04 +01:00
Alexandre Fayolle 6706754e70 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:29:19 +01:00
Pedro M. Baeza 034f1e181e [FIX] Icon path 2015-02-08 12:34:37 +01:00
Stefan Rijnhart 06f4288782 [UPD] Update to ckeditor 4.4.6 2015-01-29 10:23:01 +01:00
Stefan Rijnhart c7080651a2 [PRT] Odoo integration of web_ckeditor4 2015-01-29 10:23:01 +01:00
Stefan Rijnhart 5bafaa1e2d [PRT] Move ckeditor4 out of unported and update with latest version 7 changes 2015-01-29 10:23:01 +01:00
Holger Brunn 9972de3b44 move all addons to __unported__, set all addons as not installable 2014-07-07 13:11:28 +02:00
Holger Brunn f7824ab974 [FIX] accessing undefined variable 2014-01-31 17:56:13 +01:00
Holger Brunn bcf0534907 [ADD] web_ckeditor4 2014-01-06 18:55:59 +01:00
Holger Brunn 0523bde7b9 [ADD] stock ckeditor 2014-01-06 17:16:28 +01:00