fregante / GhostText

👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
https://GhostText.fregante.com
MIT License
3.28k stars 117 forks source link

[Bug] Not connection #88

Closed Kristinita closed 7 years ago

Kristinita commented 7 years ago

Summary

I can not begin to use GhostText.

Expected behavior

https://www.youtube.com/watch?v=e0aLFPtYPZI&feature=share

Actual behavior

No connection. If I wrote my text in Sublime Text, I can not see text in textarea fields in browser.

Steps to reproduce

The problem is reproduced for me in a version of Sublime Text, Firefox and Chrome without plugins and user settings.

I install Firefox addon and Sublime Text package. I install nircmd files in C:\Windows and C:\Windows\nircmd folders. I restart Sublime Text and Firefox.

I install MarkdownEditing plugin, I select MarkdownGFM syntax:

>>> view.settings().get('syntax')
'Packages/MarkdownEditing/Markdown.tmLanguage'

Sublime console output, when I start Sublime Text:

reloading plugin GhostText.FocusSublimeWindow
reloading plugin GhostText.GhostText
GhostText is starting now…
Setting on request handler

I press Ghost button in Firefox page with textarea element, textarea element now have blue border for me:

Blue border

Sublime Text window now active for me. Sublime Text console output:

WebSocketServer id: 1
Setting on message handler
Setting on close handler
Start
Listening on: 55603

But if I wrote text in my Sublime Text markdown file, text not print in Firefox textarea field.

Environment

Operating system and version: Windows 32-bit 10.0.14393 Sublime Text: Build 3126 Firefox: 49.0.2 nircmd: 2.81 GhostText for Firefox: 0.0.10.1-signed.1-signed

Thanks.

fregante commented 7 years ago

Thanks for the detailed bug report!

That version is deprecated, install it via: https://github.com/GhostText/GhostText/tree/master/browser#on-firefox

Kristinita commented 7 years ago

@bfred-it, I'm sorry, this solution not solved my problem.

  1. If I install new addon as Load Temporary Add-on addon was removed in next Firefox seance. I don't want download GhostText each time, when I want to use GhostText.
  2. Solution not worked for me. If I press Ghost Button, I not get blue border in textarea element and I can not output in Sublime Text console. Firebug output:

Firebug output

Got message: Object { action="select-field",  tabId=1}
content.js (line 39)
<System>

GhostText: selectField()
content.js (line 150)
<System>

Thanks.

fregante commented 7 years ago
  1. Unfortunately I can't do anything about since my collaborator @Cacodaimon hasn't updated the extension on Mozilla's site
  2. Does it work here on GitHub? You should be seeing this when you click on GT's button and then click on the textarea
test
Kristinita commented 7 years ago

@bfred-it, GhostText not worked in GitHub for me. Actual behavior for me:

Actual behavior

May you say step-by-step actions for your behavior?

Thanks.

fregante commented 7 years ago
  1. Open Sublime Text with GhostText installed
  2. Open https://github.com/GhostText/GhostText/issues/88
  3. Click on GhostText's button ghosttext button
  4. See this message There are multiple textarea elements on this page. Click on the one you want to use.
  5. Click on the reply textarea reply textarea
  6. See this message Connected! You can switch to your editor.
  7. See the textarea turn blue connected reply textarea
Kristinita commented 7 years ago

Thank you very much! Now is worked for me.

GhostText

But I still have problem 1. GhostText addon for Firefox was removed if I restart Firefox. I don't have answer in Super User. I'm not Firefox developer( . Any ideas? I think, it is critical problem and you may lose many Firefox users.

Thanks.

fregante commented 7 years ago

👍

Yeah unfortunately there's nothing I can do. I can't publish a new version of GhostText to Mozilla Addons :(

Kristinita commented 7 years ago

@bfred-it , I asked in MozillaZine and Super User, but I have not success. I unsuccessfully write to @Cacodaimon. Any ideas?

And why issue is closed? Firefox problem is not solved.

Thanks.

fregante commented 7 years ago

Issue closed because:

  1. it relates to an older unsupported version
  2. Cacodaimon is already aware of the problem and thus is a duplicate of https://github.com/GhostText/GhostText/issues/70