LPS-139334 Text Edition Toolbar does not appear when highlighting a text in a table row #112118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Forwarded from: liferay-frontend#1761 (Took 2
ci:forward
attempts in 7 hours 53 minutes)Console
@markocikos
@liferay-frontend
Original pull request comment:
JIRA: https://issues.liferay.com/browse/LPS-139334
See steps to reproduce in the JIRA ticket.
In this PR, we are:
balloonToolbars.create
API to own plugin. This is becauseballoonToolbars.create
API relies on CSS selectors. To achieve the desired effect, we would need to set higher priority of text node trigger than atd
node trigger. I believe this is impossible, as it is impossible to select a text node with a CSS selector.Sidenote: I noticed during testing that the 'Headers' option in table toolbar does not work. This is not related to this PR, the feature never worked. We can fix this in a separate PR.
I'm flagging @carloslancha and @julien as reviewers. @diegonvs is the most familiar with the task, but he is on PTO.
Before PR:
After PR:
✔️ ci:test:stable - 10 out of 10 jobs passed
✔️ ci:test:relevant - 25 out of 26 jobs passed in 1 hour 33 minutes
Click here for more details.
Base Branch:
Branch Name: master
Branch GIT ID: 52c435261679ed9eb62b7aafb24b0b8d2fe357aa
Upstream Comparison:
Branch GIT ID: 52c435261679ed9eb62b7aafb24b0b8d2fe357aa
Jenkins Build URL: Acceptance Upstream DXP (master) #2812
ci:test:stable - 10 out of 10 jobs PASSED
10 Successful Jobs:
ci:test:relevant - 24 out of 26 jobs PASSED
2 Failed Jobs:
test-portal-acceptance-pullrequest(master)test-portal-acceptance-pullrequest-batch(master)/lpkg-base-jdk8/024 Successful Jobs:
For more details click here.
This pull contains no unique failures.
Failures in common with acceptance upstream results at 52c4352:
test-portal-acceptance-pullrequest-batch(master)/lpkg-base-jdk8/0
Job Results:
3 Tests Passed.
2 Tests Failed.
Test bundle downloads:
✔️ ci:test:sf - 1 out of 1 jobs passed in 6 minutes
Click here for more details.
Base Branch:
Branch Name: master
Branch GIT ID: 9a973954f2c8415bda475a19a92632d3969bb2a5
Sender Branch:
Branch Name: LPS-139334
1 out of 1jobs PASSEDBranch GIT ID: 8f896226a7a51084e8710bbad6b497bf93fe8867
1 Successful Jobs:
For more details click here.