I tried to edit the sandbox page with my firefox browser (which have
javascript disabled for security reasons), and it showed me the WYSIWYG
interface, I was able to edit text but not use the toolbar. But when I
saved, the page was emptied.

I think you should default to Markup editor if javascript is disabled.
A simple rule we use in web development is to use Javascript to enhance
user experience but not as something mandatory, because there is so
many reasons the javascript may be broken (disabled, old browser,
recent browser with weird bug, slow internet connection, mobile
phone browsing, visually impaired user, etc.). For example here the
toolbar should be created on document load with javascript instead of
being raw HTML.

I'm also concerned about HTML code generated with WYSIWYG editor, is it
cleaned before saving? Browsers are known to have very different HTML
outputs (like IE using <STRONG>, and Firefox using <span
style="font-weight: bold;">), and that result in awful code garbage
when you want to edit the markup directly.

Great that you thought about having an option to enable or disable the
WYSIWYG editor :)

-- 
BohwaZ
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to