DOC-2609: Resizing images by typing into the input didn't update the …#3582
Conversation
…attribute correctly.
|
@abhinavgandham You will need to find another name for mce-data as this is used internally only. |
|
|
||
| This occurred because the resize function was triggered while the selection was elsewhere, due to a debounce delay between the input and the resize operation. As a result, the resize operation was performed on the current selection instead of the intended image. | ||
|
|
||
| This led to other editor components that rely on the `style` attribute accidentally reading outdated values, and the resize not being applied correctly since the selection was not on the image. |
There was a problem hiding this comment.
sorry, this Jira ended having 2 different issues and probably my description was kinda confusing.
the first problem (the one that interfere with the the other editor component) was that updating the width and height via input we didn't update correctly the data-mce-style so some other element, like some plugin, took a non updated value
the second one was about the timeout.
in the Jira documentation the 2 cases are indicated in each section via numbers 1 or 2 when you read 1. [something] that something is referring to the first case and if there is a 2 is referred to the second case.
If you want we can have a call tomorrow morning, I didn't manage this Jira well and there is a little bit of confusion in that documentation :/
Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>
#3571) * DOC-2609: TinyMCE 7.6.1 Release Documentation and Community Changelog. * DOC-2609: The mentions menu without items was not closed when pressin… (#3578) * DOC-2609: The mentions menu without items was not closed when pressing Space or Enter key. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: The mentions dropdown remained visible even after the menti… (#3579) * DOC-2609: The mentions dropdown remained visible even after the mention text was deleted in quick succession. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Toggle sidebar shortcut remained active when the editor was… (#3580) * DOC-2609: Toggle sidebar shortcut remained active when the editor was disabled. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Table resize bars was not properly aligned for inline edito… (#3581) * DOC-2609: Table resize bars was not properly aligned for inline editors inside scrollable containers. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Images with existing srcset were not handled correctly. (#3583) * DOC-2609: Opening a notification when the toolbar is at the bottom threw an error. (#3586) * DOC-2609: Opening a notification when the toolbar is at the bottom threw an error. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Text input was prevented in form elements in the contents of the editor. (#3585) * DOC-2609: Text input was prevented in form elements in the contents of the editor. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Error messages were not rendered correctly (#3584) * DOC-2609: Error messages were not rendered correctly * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * DOC-2609: Resizing images by typing into the input didn't update the … (#3582) * DOC-2609: Resizing images by typing into the input didn't update the attribute correctly. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Added ticket number to entry. * Improved wording and removed the reference of the attribute's name. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Cleaned up release docs and added security fix and self-hosted server side docs. * Updated changelog * Fixed up changelog to only include titles for core. * fixed up docs entry * API bump and copy edits. --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>
* DOC-2610: TinyMCE 7.6.1 Release Documentation. * DOC-2609: TinyMCE 7.6.1 Release Documentation and Community Changelog. (#3571) * DOC-2609: TinyMCE 7.6.1 Release Documentation and Community Changelog. * DOC-2609: The mentions menu without items was not closed when pressin… (#3578) * DOC-2609: The mentions menu without items was not closed when pressing Space or Enter key. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: The mentions dropdown remained visible even after the menti… (#3579) * DOC-2609: The mentions dropdown remained visible even after the mention text was deleted in quick succession. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Toggle sidebar shortcut remained active when the editor was… (#3580) * DOC-2609: Toggle sidebar shortcut remained active when the editor was disabled. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Table resize bars was not properly aligned for inline edito… (#3581) * DOC-2609: Table resize bars was not properly aligned for inline editors inside scrollable containers. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Images with existing srcset were not handled correctly. (#3583) * DOC-2609: Opening a notification when the toolbar is at the bottom threw an error. (#3586) * DOC-2609: Opening a notification when the toolbar is at the bottom threw an error. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Text input was prevented in form elements in the contents of the editor. (#3585) * DOC-2609: Text input was prevented in form elements in the contents of the editor. * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * DOC-2609: Error messages were not rendered correctly (#3584) * DOC-2609: Error messages were not rendered correctly * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * DOC-2609: Resizing images by typing into the input didn't update the … (#3582) * DOC-2609: Resizing images by typing into the input didn't update the attribute correctly. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Added ticket number to entry. * Improved wording and removed the reference of the attribute's name. * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc * Update modules/ROOT/pages/7.6.1-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> * Cleaned up release docs and added security fix and self-hosted server side docs. * Updated changelog * Fixed up changelog to only include titles for core. * fixed up docs entry * API bump and copy edits. --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com> --------- Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>
… attribute correctly.
Ticket: DOC-2609
Site: Staging branch
Changes:
Pre-checks:
feature/<version>/,hotfix/<version>/,staging/<version>/, orrelease/<version>/.Review: