Can we lock the html content block like text content block? | Community
Skip to main content
Level 2
March 15, 2024
Solved

Can we lock the html content block like text content block?

  • March 15, 2024
  • 1 reply
  • 1086 views

Dear friends,

 

while designing the content through below content blocks, can I lock the HTML content block like other content block?

 

 

HTML content block should be locked after I put required code in the HTML block. 

It should be locked like below

 

not like below

 

Is there any code please let us know.

 

Regards

Satya

 

Best answer by Mohan_Dugganab

You can use fragments where in, you won't be able to edit the content unless you break the inheritance. Reference - https://experienceleague.adobe.com/en/docs/journey-optimizer/using/email/design-email/add-content/use-visual-fragments#use-fragment

But in general, the lock symbol that you see is when you try to edit a non html component (text component) using the source code editor.

1 reply

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
March 15, 2024

You can use fragments where in, you won't be able to edit the content unless you break the inheritance. Reference - https://experienceleague.adobe.com/en/docs/journey-optimizer/using/email/design-email/add-content/use-visual-fragments#use-fragment

But in general, the lock symbol that you see is when you try to edit a non html component (text component) using the source code editor.

Level 3
October 15, 2025

is there anyway to unlock the non-html component?
I have used helper function in text component to display the text accordingly. but the HTML is automatically adding <br> tag, which is adding empty line between the texts/statement.