Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can Text Field formatting be disabled when setting field to read-only with Behaviours?

jameshartleroad December 30, 2020

Using Behaviours I've set a multi-line Text Field, with wiki rendering, to be read-only except for an automation group.   The text of the field is read-only, but when in edit mode and the field view is set to Text the formatting box can be used to inject formatting like bold, insert, etc. into the the text.

In the Behaviour for the field I set it to Readonly with an exception condition for the automation group and I also I tired adding an Initializer with setAllowInlineEdit(false) for the field, but that didn't work.   The text can not be directly edited, but you can still inject the formatting into it.

Is there a way to disable formatting dialog for this field or is there a way to not allow them to change the view from Visual to Text on the field?

 

 

1 answer

1 accepted

0 votes
Answer accepted
jameshartleroad December 30, 2020

I found a workaround, by setting the field to Hidden in the Behaviour it doesn't display the field when the issue is editable, which works for what I am doing.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.2
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events