DLite now supports copy/paste from system clipboard (version 0.9.7) #12
Replies: 3 comments 6 replies
-
hello Renauld, Nice new feature! |
Beta Was this translation helpful? Give feedback.
-
I just discovered in the left side Builder menu the Generic item. It opens a JSON editarea where you can next paste the code (ctrl-v). After clicking OK the canvas shows all the components. Easy when you know it. |
Beta Was this translation helpful? Give feedback.
-
This is a very interesting feature ! |
Beta Was this translation helpful? Give feedback.
-
This is great news because it means you can copy any DLite JSON descriptor from anywhere and paste it in your project.
This will allow great agility and flexibility for projet creators. Typically, one can provide a DLite example as a JSON, and the community can use it instantly with a simple copy/paste.
As an example, you can now copy/paste this small example of a counter that can be incremented/decremented with 2 buttons (example inspired from issue #10):
The only drawback I can see would be navigator support for the clipboard API (your need to allow the browser to read the clipboard at some point). Tested under Chrome, and it works perfectly. Not sure that DLite works fine under IE anyways :)
Beta Was this translation helpful? Give feedback.
All reactions