Skip to content

Releases: 5monkeys/djedi-json.js

Workspaces

25 Jan 12:34
Compare
Choose a tag to compare
  • 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

04 Aug 07:36
Compare
Choose a tag to compare
  • Allow components with customType to have appended children
  • Update some styles and fix some errors in the example app

0.3.1

21 Jun 12:55
Compare
Choose a tag to compare

Positional parameter content clashed with a prop using the same name.

0.3.0 - Add default content to new nodes

21 Jun 10:19
Compare
Choose a tag to compare

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

17 Jun 13:56
Compare
Choose a tag to compare

0.2.3 failed to export types once built. 0.2.4 solves this.

0.2.3 - Export type declarations

17 Jun 12:57
Compare
Choose a tag to compare
  • 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

17 Jun 12:25
Compare
Choose a tag to compare

The renderer had a check which resulted in nothing being rendered if the tree was not an array.

0.2.1 - Add config-options

14 Jun 15:12
Compare
Choose a tag to compare
  • 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 to CMSType.children, effectively hiding the default injected add-button
  • Don't export the CMSContext and EditContext, use wrappers useCMS and useEdit instead.

Initial release - basic functionality

14 Jun 12:47
Compare
Choose a tag to compare
0.1.1

Bump version to 0.1.1