Prevent editing some components
See original GitHub issueI would like to prevent users from editing the internal components of specific components.
IE lets say I have an element called Drupal-Block
<div data-block>
... html inside ..
</div>
I want to prevent the users from editing the … html inside… bit
Issue Analytics
- State:
- Created 6 years ago
- Comments:30 (8 by maintainers)
Top Results From Across the Web
Allow changes to parts of a protected document
Protect a document and mark the parts that can be changed · On the Review tab, in the Protect group, click Restrict Editing....
Read more >How to Protect Parts of a Word Document from ... - groovyPost
Newer versions of Microsoft Word allow you to restrict edits to some or all sections of a document. Here's how.
Read more >How to Protect Parts of a Word Document from ... - How-To Geek
The “Restrict Editing” pane will appear on the right side of Word. Here, tick the “Allow only this type of editing in the...
Read more >How to Restrict Editing to Parts of a Word Document –
Step 1: With your document open, click the ribbon's Review tab and then click the Restrict Editing button as shown below. Step 2:...
Read more >How to Protect Your Microsoft Word Documents | PCMag
1. Read-Only Mode 2. Password Encryption 3. Restrict Format Editing
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, @MichaelKlemersson is right currently you have to set them manually on any element. Another trick would be to update all children via model
But what I think would be the best it’s some kind of property which
propagates
(suggestions for a better term are welcome) properties from the parent to its children, eg.what do you think?
An example you can use in the demo