Issue with RTE tables in multiple components
We have an issue in AEM 6.3 authoring when using RTE tables in more than one component on the same page and editing the cell property of different component tables.
After changing the cell property of a table in one component, we are unable to change the cell property of another table in another component on the same page. The cell property context menu disappears as soon as it is clicked, before a selection can be made.
(The specific steps to re-create the problem is 1) create or work with content with two or more content components with tables in them. 2) Edit table one 3) Modify the cell properties of one of the table cells and save 4) Edit table two. The right-click-context menu will no longer work on the table cells.)
This seems to be due to a javascript process loop that happens when starting to modify the second table component. The loop closes the cell context menu before a selection can be made.
It looks like the loop starts with the manipulateSelection() method and ends with updateState() and isTableMode() methods in TablePlugin.js.
It also was happening in our older 5.6.3 instance.