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

As an Editor I want to be able to unbold the pasted text in OE

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. On the clean 3.1.0-ee install create a new article.
      2. Copy a text paragraph from any PDF/Word document that contains the bold text.
      3. Try to unbold text in the pasted paragraph in the Online Editor.

      Expected result:

      The selected text is unbolded

      Actual result:

      The selected text is still bold

       

      Most likely it is caused by the fact that `b` tag is used for the pasted text instead of `strong`:

      <p data-ez-node-initialized="true">Test&nbsp;
        <b data-stringify-type="bold" data-ez-node-initialized="true">test test&nbsp;</b>test
      </p>
      

      Instead of

      <p data-ez-node-initialized="true">Test&nbsp;
        <strong data-ez-node-initialized="true">test test&nbsp;</strong>test
      </p>
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            l0rdj l0rdj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: