Skip to main content
1-Visitor
August 21, 2020
Question

Hide element, ElementDisplay, code

  • August 21, 2020
  • 1 reply
  • 1184 views

Hey everybody.

 

Our Arbortext plugin highlights potential errors in the text with color. But this introduces a lot of unwanted "_font" tags into the document view.

We can hide those manually by looking at the document's DCF and adding this:

<ElementDisplay element="_font" fullTagModeDisplay="none" partialTagModeDisplay="none"/>

 

Please advise if there is a chance to do the same temporarily&safely from the plugin's code?

Looking for some guidance in ACL or Java.

 

thank you.

    1 reply

    18-Opal
    September 10, 2020

    ACL:

    # display tags
    tag_display -full "_font"
    
    # hide tags
    tag_display -none "_font"