Most editor-js tools support a read-only mode and so there is a desire for this tool to offer the same functionality.
π‘ Background and solution
Added readOnly attribute to the constructor. Then added relevant logic to the render function to disable editability of code area when CodeBox.readOnly is true. Followed convention for other editor-js tools.
π Changelog
Language
Changelog
πΊπΈ English
βοΈ Self Check before Merge
βοΈ Doc is updated/provided or not needed
βοΈ Demo/Example is updated/provided or not needed
π€ This is a New Feature.
π Related issue link
Most editor-js tools support a read-only mode and so there is a desire for this tool to offer the same functionality.
π‘ Background and solution
Added readOnly attribute to the constructor. Then added relevant logic to the render function to disable editability of code area when CodeBox.readOnly is true. Followed convention for other editor-js tools.
π Changelog
βοΈ Self Check before Merge