Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21397

Anchor tag removed if anchor text is only content in line, or immediately adjacent lines

    Details

      Description

      When an anchor element is inserted, and it is the only content in its line, or the immediately adjacent lines (before or after), the anchor and the highlighted content disappears.

      Steps to reproduce:

      • In ezoe, add a word, highlight it, click the anchor button and press "OK" with the default value.
      • Verify that the highlighted content disappears, and that there is no anchor icon in its place.
      • Again, add a word, and add a second word around it - in the same line, in the previous line, or in the next line. Highlight the initial word and add an anchor once more.
      • Verify that the anchor icon is present.

        Activity

        Show
        Joaquim Cavalleri (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/723
        Show
        Joaquim Cavalleri (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/da34f462b87de30e374d3b17fcc18ab0b7018de8
        Hide
        Joao Pingo (Inactive) added a comment -

        Tested using tc-1805 on Master and 5.1
        All tests passed ... QA Approved

        Show
        Joao Pingo (Inactive) added a comment - Tested using tc-1805 on Master and 5.1 All tests passed ... QA Approved

          People

          • Assignee:
            Unassigned
            Reporter:
            Filipe Dobreira (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h