RE: [editing] CommandQuery Object and Event

> From: Ryosuke Niwa []
> Can this be an attribute on elements instead?  Otherwise, browsers would
> have to repeatedly call these functions to update edit menu, etc...

This may be an issue, I agree. But since it's dynamic and changes every time the selection/caret moves, would an attribute really help us save computation? Maybe we should be able to get the status of several commands at once with the event? Something like this (just thinking out loud here)?

Document.queryCommands('bold', 'italic', 'underline', 'undo')

> Also, we should talk with people working on Indie UI
> (  The problem we're solving here is very
> similar to the one they're trying to solve.

Absolutely! This has been in the back of my mind for a while. Do you know what would be the best way to involve them? Are some of them in both working groups?

Received on Thursday, 5 June 2014 17:42:41 UTC