Releases: 5monkeys/djedi-json.js
Releases · 5monkeys/djedi-json.js
Workspaces
- introduce workspaces, making local setup easier and less prone to bugs.
- Add a proper logo to the Append icon.
- Split the view and CMSProvider, making custom layouts easier to make.
Allow children for isomorphic components
- Allow components with customType to have appended children
- Update some styles and fix some errors in the example app
0.3.1
0.3.0 - Add default content to new nodes
Add an additional optional positional argument to the append()
& createEmpty
function, allowing to pass a default content to the newly created node.
example
createEmpty("type/article", { text : "hello world" } ) // returns {type: "type/article", content : { text : "hello world" } }
append("type/article", { text : "hello world" } ) // appends same as above to the current node, as a child
0.2.4 - fix 0.2.3
0.2.3 failed to export types once built. 0.2.4 solves this.
0.2.3 - Export type declarations
- Export type declarations
- Update internal eslint-config
- Fix error found in the example-app as a result.
0.2.2 - Fix error in the Renderer
The renderer had a check which resulted in nothing being rendered if the tree was not an array.
0.2.1 - Add config-options
- Add icon prop to ComponentConfig
- Use a wrapper function to apply defaults to each passed ComponentConfig
- Add option to remove all built-in toolbars for Components using:
editable:boolean, removable:boolean
- Add
append:boolean
prop to toCMSType.children
, effectively hiding the default injected add-button - Don't export the CMSContext and EditContext, use wrappers
useCMS
anduseEdit
instead.
Initial release - basic functionality
0.1.1 Bump version to 0.1.1