Aesthetically scripting.

Say you have some html document that has some elements with assigned IDs. I would like to find better notation for functions – event handlers in TIScript. For example we have following html fragment: <button id=”foo”>Click me!</button> and we know that such button can generate onClick event (whatever it means). There are multiple possible ways…

behavior:htmlarea (WYSIWYG editor) in h-smile core.

My initial idea was to implement behavior:htmlarea (WYSIWYG editor) as editing behavior that manipulates elements in existing DOM tree. This approach is not working for many reasons. Main reason is following: In presence of CSS the same rendering result (pixels in the view) can be achieved in many ways – by using various CSS attributes….