Uploaded image for project: 'CKEditor Integration'
  1. CKEditor Integration
  2. CKEDITOR-256

The macro content is preserved when switching macros even if the new macro doesn't support content

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.29
    • Fix Version/s: 1.30
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Follow this steps to reproduce:

      • Edit a new page
      • Insert an Info macro with some content (e.g. "test")
        • If you switch to source you should see:
          {{info}}
          test
          {{/info}}
          
      • Edit the Info macro you just inserted and change it to the Page Tree.
        • If you switch to source you see:
          {{documentTree}}
          test
          {{/documentTree}}
          

      That's not right since the Page Tree macro doesn't support content.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: