Comments (4)
The reason at the moment it fails is because the text box on the page isn't a textarea:
<div id="comment" contenteditable="true" role="textarea" aria-multiline="true" style="font-family: arial; height: 100%; overflow-x: hidden; overflow-y: hidden; " class="placeholder">Type your comment here.</div>
It's the same reason you can't use it for Google+ text boxes at the moment. I have experimented with other options but I'm not sure if there is a safe way to identify arbitrary 's as being editable.
The implementation on that page seems to have added an keydown event catching to the node which catches the key events and then inserts the typed text into the DOM.
from emacs_chrome.
Ahh it seems that contenteditable is an HTML5 thing that should be consistent. However the process of retrieving and setting information is a little different than with textareas so I shall need to furtle around when I have a bit more time. However I think it is doable.
from emacs_chrome.
Hi Krishna,
I've just pushed some changes to the git repo which should fix this for you. Could you test and report back please?
from emacs_chrome.
Edit button, alt-enter, doubleclick all work; context menu produces an empty emacs buffer, which when submitted, dutifully clears the original textarea in the 'venturebeat' URL I provided above.
However, when trying to submit a comment on a Slashdot story (which looks similar to a Disqus area), the context menu works fine. Otherwise, it's working great -- very much appreciated. This is in Chrome 9 under Windows; I'm not sure if that's an issue.
Thanks!
Krishna
from emacs_chrome.
Related Issues (20)
- Do not suggest adding ~/.emacs.d to load-path HOT 1
- Stopped working with Firefox/emacs HOT 3
- Can't use edit-server when using command+tab HOT 5
- edit-server is not in elpa, update README? HOT 5
- README didn't explain that one has to run edit-server-start HOT 1
- Firefox GMail stopped working HOT 19
- Don't close frame when done HOT 8
- How to use this package? HOT 1
- Firefox v1.16 release needs to be made HOT 3
- Frame does not close when leaving web page HOT 1
- No keybinding setting on Firefox? HOT 2
- 'edit-server-abort' should be called when close new frame by click 'X'
- feature request: use wasm instead of emacs editing server HOT 1
- Doesn't work on Brave: net::ERR_BLOCKED_BY_CLIENT HOT 6
- Skipped textareas can remain skipped even after they have been revealed
- Cursor moves to beginning of buffer on save HOT 2
- edit-server-start without browser open eats all keystrokes
- "Edit with Emacs" is slowing down Firefox HOT 10
- Chrome WebStore link is not working... HOT 5
- Manifest version 2 is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs_chrome.