pre to textarea

By Sybian Last update Aug 17, 2007 — Installed 418 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 5 posts, 4 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Sybian Script's Author

 and <textarea> are HTML element.

It is difficult to explain by my English skill. please google it "pre html" , "textarea html".</textarea>

 
crazian User

can u add more information and tell us what is it?
what is a pre??

 
Sybian Script's Author

These problems were maybe fixed.
Thanks for your feedback!

 
LouCypher Scriptwright

I love it. However, offsetWidth and offsetHeight properties (along with clientWidth, clientHeight, scrollWidth, scrollHeight) not working in Firefox/Greasemonkey (I don't know why). I use getComputedStyle to get element's width and height. It works on both Firefox and Opera.

See the diff: pastebin.mozilla.org/?diff=184903.

The other problem is if you installed It's All Text! extension, when you changed back TEXTAREA to PRE, the "Edit" button will still be there, and if you repeat changing it TEXTAREA and back to PRE, you'll get two "Edit" buttons.

There's nothing we can do to remove the "Edit" button since it's a chrome element and Greasemonkey can't access chrome elements.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel