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

As a developer, I want to edit the "ezcontent" of a custom tag

    Details

    • Sprint:
      [2.4] - Sprint 5
    • Story Points:
      1

      Description

      Each custom tag has an ezcontent property, that contains the tag's main content. Until v2.3.0, it is not editable in the UI, and is used to store the output/preview of a tag.

      It must be made editable using a textarea. In this iteration, the textarea must be added to the custom tag editing tooltip. In a further version, it should be editable directly from the Rich Text Editor.

      For extensibility purpose, an extension mechanism should be included, so that the tag's content can be tampered with:

      • when it is saved to state, before it get previewed in the RTE
      • before it is restored from state to the textarea

      A use-case for this is the implementation of the rawhtml custom tag, whose content is HTML that must be encoded.

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          Opened PR ezplatform-admin-ui#619 that adds support for editing a custom tag's ezcontent (not an attribute, but the tag's main content). It should make the implementation of a textblock attribute unnecessary.

          Show
          Bertrand Dunogier added a comment - Opened PR ezplatform-admin-ui#619 that adds support for editing a custom tag's ezcontent (not an attribute, but the tag's main content). It should make the implementation of a textblock attribute unnecessary.
          Show
          Dariusz Szut added a comment - PR created: https://github.com/ezsystems/ezplatform-admin-ui/pull/697
          Hide
          Michał Szołtysek added a comment -

          QA Approved.
          Issues linked.

          Show
          Michał Szołtysek added a comment - QA Approved. Issues linked.
          Show
          Michał Szołtysek added a comment - Merged: https://github.com/ezsystems/ezplatform-admin-ui/commit/f0569d29b21ed8c0fa86f3a06378c908d8fbad39

            People

            • Assignee:
              Unassigned
              Reporter:
              Bertrand Dunogier
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile