-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let IAT work with input[type=text] fields as well #35
Comments
Hi, Just to mention again that I would appreciate to have that feature added. I use vimperator and the ctrl-i feature did not work as well for me as "It's all text". I know there is pentadactyl where the ctrl-i may work better, but it is not available for the latest version of firefox. Thanks, Alex |
A related content type to include with this feature request is the HTML5 contenteditable feature, often used in divs like this:
The edited text would be inserted between the tags as normal for any SGML/HTML. Content types are generally determined by the site, so these days there's a lot of Markdown options (that sample is taken from ello.co and is their standard post thing). Obviously there are plenty of others and growing with the adoption of HTML5. Now what would be really awesome would be a way of generating rules which IAT could use to adapt to specific sites, even if total support for all input types is infeasible. But grepping for "textarea" in the source code isn't enough to indicate where and how that might be achievable. |
I'm not sure that'll work... The reason is that most For example, if a There is no way to input things like lists, images, etc. without help from JavaScript. It would be very easy to break some web-apps that don't expect the user to actually edit the underlying HTML without the JavaScript interpreting results. Then there is the hidden All in all, I don't think If you decide to write this up @Hasimir, then ignore the
Basically, grepping the source in |
Ah, cool. Javascript isn't my forté, but I may be able to work it out or find some .js adept who can do so. Still, arcane rewriting stuff on a per site basis might be a bit of a show stopper. It can't, however, hurt to look and see. The worst that can happen is retaining the status quo, after all. |
I've gotten this request several times over the years, the latest being Alex.
The idea is that the "edit" gumdrop would appear on for
<input type=text>
elements as well as for<textarea>
elements.I took a quick stab at hacking the code, but its more than just changing a couple of lines of code. :-/
The text was updated successfully, but these errors were encountered: