| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
(remove tr but not td alone)
|
|
|
|
The paste don't keep the architecture, usability team want to past the architecture but remove extra style and wrong node like span.
|
|
When using the tab key on non text node range, it could fail in some
given case.
Also when removing the last element of the table row, a correction was done in
d33086c03fc but if there was no element before the table (eg. the editor
is empty) an error could occur.
|
|
Tests for null range were not done in #8845, so in given case (where the
focus is not in the editor) we could get an issue.
The code for remembering the selection when clicking the editor
was made useful in d33086c03fc, but there was an edge case when
the editor itself was in a modal: then the selection would be lost.
This commit change the code as following:
1) restore the selected range if:
- the current selected range is not in the editable of the active editor
- there is a corresponding saved selected range or we are in an embeded
editor (and not in air mode as when editing the website)
2) save the selected range if:
- we don't restore the selection,
- the current selected range is in the active editor editable area
|
|
The range can be null if the focus is not in the editor at serveral
places.
closes #8845
|
|
Put all rng to r to have the same concept in the whole file as well as
in the summernote codebase.
closes #8845
|
|
On initialisation summernote call update method with oStyle.range is undefined.
The range can be undefined because the update is call before any selection and attach method from summernote call the update without range.
The method summernote_table_update try to use the range and raise an exception.
fix: Check if oStyle.range exits.
|
|
* some oversight when updating summernote with d33086c,
* fix style when replacing image with video
|
|
update summernote library up to revision:
https://github.com/summernote/summernote/commit/a0f26e300
see https://github.com/summernote/summernote/ for history
closes #8704
|
|
Revert till several issues are solved.
|
|
update summernote library up to revision:
https://github.com/summernote/summernote/commit/a0f26e300
see https://github.com/summernote/summernote/ for history
closes #8704
|
|
|
|
|
|
|
|
|
|
inside (although there are several selected child nodes)
This is forward-port of 96b33cdbcefcc6e656994a83534213cb6e87ca1c that
was stuck in limbo in forward-ports...
|
|
Due to `sale` rewrite (94716a3f14d929574c46ef165e4364d12a5903ed),
the commit 503820acb6d82a85c0c49ac26f7e7f8cd73851dd has been partially
ignored (in sale.order.line) and will be rewritten later using new-api.
|
|
|
|
|
|
|
|
the editable part is inside the table
|
|
|
|
for html field) and website
|