fregante / fregante/GhostText

GhostText cannot detect or edit TinyMCE content

Open
#311 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted new site support
Dominant language
JavaScript
Stars
3.6k
Forks
133
PR merge metrics
No merged PRs in 30d

Description

### Description and repro

Many technologies, including Moodle are adopting TinyMCE as their preferred Rich Text Editor, moving away from other RTE's such as ATTO.

GhostText is unable to detect or interact with content within TinyMCE. My suspicion is twofold:

1. That the TinyMCE editor loads within an iframe
2. That the TinyMCE editor itself does not contain a `` element. Rather, it seems to update a hidden textarea field in the parent/lauching doc.

Steps to reproduce:

1. Visit <a href="https://www.tiny.cloud/docs/tinymce/latest/basic-example/">[Basic example | TinyMCE Documentation](https://www.tiny.cloud/docs/tinymce/latest/basic-example/)</a>
2. Attempt to use GhostText to connect to your preferred IDE (for me, this is SublimeText)

### Browser(s) tried

Chrome

### Editor(s) tried

SublimeText

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in Chrome using TinyMCE’s Basic example and a SublimeText connection, then inspect how GhostText detects and edits the iframe-hosted editor and its hidden textarea. Done means GhostText can connect to TinyMCE and synchronize edits in both directions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.