News for hackers. Stuff that matters.
Re:Doctored.js – A new kind of editor by d55 on Monday February 24, 2014 @04:16AM (#7289829)
In the demo, how does one append another chapter?
Re:Doctored.js – A new kind of editor by holloway on Monday February 24, 2014 @04:37AM (#7289897)
tldr; I'm going to allow double <enter>, and I'm going to add a [+] to the top-left of every block but that's not done yet and in the meantime you'll have to edit the XML ('view source') to make those kind of changes.

Long answer: Currently hitting <enter> clones the current block element but when there are block elements within block elements (such as chapter > para) there's no way to know what <enter> should mean. Other software (some wordprocessors) use double <enter> to step up a level, and I guess I'll support that. For UI reasons though I think that I'll also add a [+] button to the top-left of block elements (above the vertical label, above the nodeName). And I should also support pasting XML more (it kind of works right now but it needs more work).

I'll be a bit busy for the next week on a live split-view of the XML, but after that I'll work on cloning nesting block elements. I'll say when it's done on @hollowaynz -- cheers :)

Re:Doctored.js – A new kind of editor by holloway on Tuesday February 25, 2014 @10:08PM (#7302613)
Just added a [+] to each block element

http://holloway.github.io/doctored/