Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup for the custom tag sub/sup fixed #1434

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

pkamps
Copy link
Contributor

@pkamps pkamps commented May 28, 2019

The sub (subscript) and sup (superscript) tags work, but there is a UI issue.

Hitting "Ok" once adds the tag, but does not close the dialog. The dialog only closes upon clicking "Cancel."

While the dialog is open, each click of "Ok" after the first inserts the highlighted text at the beginning of the paragraph, in the sub or sup style.

Hitting "Cancel" is the only way out, which makes the necessary workflow:

Select text
Select Custom tags
Select "Sup"
Click OK
Click Cancel

Reproduce / Testing instructions

Select text
Select Custom tags
Select "Sup"
Click OK => Dialog remains open
Click OL => Duplicate text inserted at beginning of paragraph.

Tested with: Mac Chrome.

Copy link
Collaborator

@emodric emodric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a suggested fix by @andrerom

Co-Authored-By: André R. <andre.romcke@gmail.com>
@andrerom
Copy link
Contributor

@pkamps Do you need this on previous versions also (not just 2019.03) ? If so are you able to rebase this?

@pkamps
Copy link
Contributor Author

pkamps commented Jun 18, 2019

Not needed in any particular version. Just sharing my effort on the legacy code.

@andrerom andrerom merged commit fb58e79 into ezsystems:master Jun 27, 2019
andrerom pushed a commit that referenced this pull request Aug 9, 2019
* Popup for the custom tag sub/sup fixed

* Update extension/ezoe/design/standard/templates/ezoe/tag_custom.tpl

Co-Authored-By: André R. <andre.romcke@gmail.com>
(cherry picked from commit fb58e79)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants