Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari and WYSIWYG Editing (TinyMCE)



spam wrote:

We managed to work around most of these issues, however most of the hacks are quite ugly and if the spec was fully implemented, they would not have been neccesary.

I can't speak to all of them, but for a few of your problems, the spec was developed independently by Microsoft for use in IE, and is not a standard. You can't expect other browser vendors to support every random thing MS decides to stick in their browsers. That's why we have web standards. If you're aiming for a cross-browser application, I would recommend sticking to those standards.


- When having links inside a editable area it's possible to click on the links (this opens the link). This is very annoying since it makes it harder to select a link for editing.

The closest thing I can find to a spec for designmode (a non- standard) is this:


http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/ designmode.asp

which says nothing about how an object should behave while active in designmode.

- The lack of basic execCommands like InsertUnorderedList, InsertOrderedList and Strikethrough forces some ugly workarounds. And if you press return inside a list item inorder to generate a new item the cursor jumps outside the whole list, the ordering of numbered lists gets screwed up for example: 1, 2, 2, 3.

Again, not a standard:

http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/ execcommand.asp

and again, the spec is so vague as to make it difficult to implement if anyone outside of MS wanted to.

- Inserting custom HTML at the cursor position/selection was somewhat tricky, an InsertHTML like the built in InsertText execCommand would be highly useful.

I can't even find a spec for this one. Does this do something different than the standard DOM appendChild?


Peace,
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >Safari and WYSIWYG Editing (TinyMCE) (From: spam <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.