Thursday, April 21, 2005

Safari 1.3 How To: Have Editable Text Directly in the Safari Window

One of the neat things about the newest release of Safari is the ability to edit text right in Safari's browser window in a Rich Text WYSIWYG editor. Without the ability to save this, I'm not sure what good it is, but it's pretty cool nonetheless.

You can use all the basic Edit menu functions such as undo, copy, cut, paste, etc. You can also use rich text keyboard commands such as command-b for bold or command-i for italic. You can even drag images right into the window.

I took a look at All Forces to figure out how to do it. First, you need to be using Safari 1.3 and include the following in your webpage source:
<div contentEditable="true"> . . . </div>
The . . . can be whatever HTML you feel like sticking in there (I assume... in any case, text and images work). This entry was made with that so with Safari 1.3 you are able to edit the contents of this website, although you've got no way to save it.

What I think could be useful is if Safari is set so that the user could edit whatever he wanted in the window, not needing to rely on the webmaster enabling the contentEditable parameter. Then you could print it out as a PDF or whatever.

Links to this post:

<\$BlogItemBacklinkCreate\$>

,

<< Home