Skip to content
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

GhostText cannot detect or edit TinyMCE content #311

Open
BirdyOz opened this issue Jun 19, 2024 · 3 comments
Open

GhostText cannot detect or edit TinyMCE content #311

BirdyOz opened this issue Jun 19, 2024 · 3 comments
Labels
enhancement help wanted new site support Requests of support for new sites and fields

Comments

@BirdyOz
Copy link

BirdyOz commented Jun 19, 2024

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 <textarea> element. Rather, it seems to update a hidden textarea field in the parent/lauching doc.

Steps to reproduce:

  1. Visit Basic example | TinyMCE Documentation
  2. Attempt to use GhostText to connect to your preferred IDE (for me, this is SublimeText)

Browser(s) tried

Chrome

Editor(s) tried

SublimeText

@BirdyOz BirdyOz added the bug label Jun 19, 2024
@fregante fregante added enhancement help wanted new site support Requests of support for new sites and fields and removed bug labels Jun 19, 2024
@fregante
Copy link
Owner

Yes it's not supported. PR welcome to add support for the field

@fregante
Copy link
Owner

Note that TinyMCE is a WYSIWYG field, which GhostText hasn't supported at this point.

More such fields can be found on this page too: https://pbx.vercel.app/advanced-fields/#draftjs

@BirdyOz
Copy link
Author

BirdyOz commented Jun 19, 2024

Hi fregante. Thankyou so much for your prompt reply. I take it from this that GhostText is unlikely to support TinyMCE or other WYSIWYG/RTE editors in the near future.

It might have been a happy accident that it has worked so well with the ATTO editor for so long. I have found GhostText invaluable in my Moodle development. Fortunately, I think I have a year before Moodle fully deprecates the ATTO editor, so I'll have to adjust for (or mourn for) its loss.

Thanks for your amazing product

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted new site support Requests of support for new sites and fields
Projects
None yet
Development

No branches or pull requests

2 participants