codebox
codebox copied to clipboard
Add support for read only codebox.
π€ 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
Language | Changelog |
---|---|
πΊπΈ English |
βοΈ Self Check before Merge
- βοΈ Doc is updated/provided or not needed
- βοΈ Demo/Example is updated/provided or not needed
- βοΈ Changelog is provided or not needed
Thank you @HarveyRDonnelly @dev-juju When would this be merged please?