Dan Frankowski schrieb:
> This is cool.
>
> Related: I assert that the ultimate editing interface you want is
> WYSIWYG with HTML backend (simplified to avoid XSS exploits). The
> WYSIWYG would be friendly to all the people who have trained on Word
> etc. The HTML backend would produce a reasonable grammar (e.g.,
> eliminating the problems with bulleting and bolding in current PhpWiki).
> Note also MediaWiki has an incredible number of HTML-like properties on
> things to control graphics. Using actual HTML would be even better. The
> "simplified" HTML (e.g., no onFOO event attributes for a tag) is
> necessary to avoid massive hack attacks.
>
> Then when you double-clicked like this thing, you'd get a Word-like (or
> Netscape authoring tool-like, etc. etc.) editing toolbar.
I already did that last year with USE_HTMLAREA = true, but our
HtmlParser is still not ready for general release.
(Though it is shipped since 1.3.10)
Keeping HTML as the only PageType (virus-like) cuts us back.
If you don't care about slowly getting all your markup converted to
HTML, you can enable USE_HTMLAREA and install the htmlarea3 library.
BTW: We could consider supporting MediaWiki-like div and span tags as addon.
>>> this would make a fantastic addition to phpwiki:
>>> http://tool-man.org/examples/edit-in-place.html
>>> quite elegant.
>>
>> Whow!
>>
>> We should be sure to place our toolbar somewhere at a fixed place,
>> where it doesn't hurt the layout.
>> IE is also out for now, so we have to wait.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/
|