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

ezxmltext -> ricktext conversion : exotic align values fail

    Details

      Description

      Legacy ezxmltext might incluclude alignments like align="-webkit-auto"> :

      <?xml version="1.0" encoding="utf-8"?>
      <section
              xmlns:image="http://ez.no/namespaces/ezpublish3/image/"
              xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/"
              xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/">
          <paragraph align="-webkit-auto">align webkit-auto</paragraph>
      </section>
      

      For details about -webkit-auto see http://help.dottoro.com/lcnebmiu.php

      In richtext, we only support left,center,right,justify ref https://github.com/ezsystems/ezpublish-kernel/commit/02b5d731536bdc3023455b3d3d69588df0825915#diff-6a5865c2444b663a4455a12d7374daf6R575

      So, "-webkit-auto" should be changed into "left" during conversion

        Issue Links

          Activity

          Show
          Vidar Langseid added a comment - PR : https://github.com/ezsystems/ezplatform-xmltext-fieldtype/pull/53

            People

            • Assignee:
              Unassigned
              Reporter:
              Vidar Langseid
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: