Instructional text in templates is not working

XMLWordPrintable

    • 11
    • Severity 2 - Major
    • 600
    • CtB - Features

      Problem

      Adding instructional text to a template will result in plain text instead.

      Environment

      Confluence 8.5.6, not reproducible on 8.5.5 or prior.

      Steps to reproduce

      • Go to   > General Configuration > Global Templates and Blueprints
      • Create a new Global Page Template that I called Page Template 
      • Add a line of text and a line of Instructional Text
      • Go ahead and create a new Confluence page using this new template
      • Upon publishing the Page, we can see that both texts are shown.

      2024-02-15_10-30-18.mp4

      Expected Results

      Upon publishing the Page, we should see the normal text being displayed but the instructional text should not be displayed when viewing the page

      Actual Results

      We can see that instructional text when viewing the page has normal text.

      Workaround 1

      1. Install "Confluence Source Editor" add-on
      2. Go to Space Tools > Content Tools > Templates or go to    > General Configuration > Global Templates and Blueprints
      3. Locate/Create the template which you would like to add the instructional text
      4. Click on "Edit"
      5. Click on "<>"
      6. Add instructional text between <ac:placeholder> tags. i.e:
        <ac:placeholder>Some Instructional Text</ac:placeholder>  
      1. Save the template

      Workaround 2

      Add any text, and on the same row I add the Instructional Text, and it will add a small space with the gray space next to it, however, you're unable to type in it, just like the bug mentioned:

      But when you try to add the Instructional Text a second time without deleting the previous one, you will now have a "double-size" gray space, but this time you will be able to click inside of it and type normally inside the Instructional Text box:

      (Cursor inside the box)

      (Normal typing)

        After hitting enter, you will now be able to delete the other text/character you used before, here's an example, I created a template "showing" these steps:

      Notes

       

        1. 2024-02-15_10-30-18.mp4
          4.90 MB
          Filipe Rodrigues
        2. image-2024-06-13-12-17-36-856.png
          8 kB
          Bruno Tini
        3. image-2024-06-13-12-17-56-471.png
          8 kB
          Bruno Tini
        4. image-2024-06-13-12-18-14-887.png
          13 kB
          Bruno Tini
        5. image-2024-06-13-12-18-57-322.png
          355 kB
          Bruno Tini

            Assignee:
            Nam Ho
            Reporter:
            Filipe Rodrigues
            Votes:
            44 Vote for this issue
            Watchers:
            57 Start watching this issue

              Created:
              Updated:
              Resolved: