Comments (3)
I just saw this is in the Future plan wiki. Glad to see but I would recommend
that this issue along with save/load are critical for usability. Additionally,
a user should not loose a page of work by clicking on the browsers back button.
I will add this as a comment on the save issue since I did not see it
mentioned anywhere.
Original comment by [email protected]
on 12 Jun 2012 at 1:00
from blockly.
I think its worth to isolate each function to different issues
1. save/load, as issue 7
2. copy/paste
3. undo/redo
4. functions with keyboard shortcut (ctrl-c, ctrl-x, ctrl-v, ctrl-z, ctrl-y)
Original comment by gasolin
on 12 Jun 2012 at 1:00
from blockly.
Closer analysis of the cut/copy/paste triad show that they is not wholly
appropriate to Blockly. Think about when you use cut. That operation is only
used when one is moving something. In Blockly one would never cut a block and
paste it somewhere else, one would just drag it. As a result the three
clipboard operations boil down to a single operation: Duplicate.
Admittedly, advanced applications of Blockly might have a use for
cut/copy/paste if one were moving content between windows. However this is
very tricky since the windows might not know about each other's block types.
E.g. the Maze demo has a different set of blocks when compared with the Code
demo.
Since 'duplicate' is the overwhelming use-case when people think of
cut/copy/paste in the context of Blockly, I've added this function to the top
of the context menu. Let's wait until we see multi-window Blockly applications
before implementing the other three.
As gasolin says, undo/redo are a very separate set of operations. We have a
plan for these which involves something rather special. But we're being
temporarily blocked by a Google-internal issue. It will remain on the Future
list for right now.
You also mentioned clicking back and losing work. This was added some time ago
as a result of feedback. Blockly's demos now check that there are blocks
present, and if so issue a warning dialog.
Now that 'Duplicate' works I'm going to close this issue, with the
acknowledgement that undo and redo are very important and will be implemented
as soon as possible.
Original comment by [email protected]
on 11 Jul 2012 at 9:16
- Changed state: Fixed
from blockly.
Related Issues (20)
- Number of app's lang-manu HOT 2
- turtle trail does not show on Android Nexus 10
- Blockly.Xml.workspaceToDom doesn´t work on Safari HOT 2
- context menu on tablets HOT 1
- Non Printing Text Characters
- [deleted issue]
- [deleted issue]
- Color dropdowns not listening for touch events HOT 1
- Trashcan Lid animation uses CPU when idle HOT 1
- Uncollapsing duplicated block "Connection already in database" error HOT 2
- Code blocks can become misaligned when moving a set of blocks with a "break out of loop" attached to it out of a loop HOT 1
- Mouse wheel scrolling fails to scroll blockly scroll bars up or down HOT 1
- Blocky GUI is pushed from view when a long text string is entered into a block HOT 1
- If block breaks when click on the star. HOT 1
- Blockly games not running correctly on chrome! HOT 4
- Headless blockly doesn't work for function/procedure calls with parameters HOT 1
- How to create types to restrict connections between few custom blocks? HOT 1
- change name on google + HOT 1
- Left-Right-Up-Down movement in Blockly JS HOT 1
- testing window['Audio'] is not sufficient HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockly.