-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
What happened?
Description:
Hi,
I’m experiencing an issue where FluentTyper injects its suggestion container into the actual content of posts when using certain legacy rich-text editors.
Specifically, this happens on Delphi Forums (Classic).
What happens:
-
I write a very short post (e.g. ~100 characters)
-
After posting, the forum shows "message truncated"
-
When inspecting/editing the post in HTML/source mode, I can see a large injected block:
<div class="ft-suggestion-container" ...>
-
This div can be several thousand characters long (~8000+)
-
It gets saved as part of the post content
Impact:
- Even very short posts are treated as extremely long
- The forum truncates all posts
- I have to manually remove the injected div every time I post or edit
Important details:
- The forum uses a legacy WYSIWYG / contentEditable editor
- It appears to save the full innerHTML without sanitizing injected DOM elements
- The issue only occurs when FluentTyper is enabled and the site is whitelisted
Steps to reproduce
Steps to reproduce:
- Enable FluentTyper
- Whitelist Delphi Forums (Classic)
- Write a short post
- Submit the post
- Edit the post and switch to HTML/source view
- Observe injected
<div class="ft-suggestion-container">in content
Expected behavior
Expected behavior:
FluentTyper should not inject DOM elements into the editable content in a way that becomes part of the saved HTML.
Possible solution:
- Ensure suggestion UI is not inserted inside the editable content node
- Or mark it in a way that prevents it from being captured by editors (e.g. outside contentEditable, shadow DOM, or stricter isolation)
Workaround:
- Disable FluentTyper or remove site from whitelist
Let me know if you need more details or testing.
Thanks!
Actual behavior
see above
Browser
Firefox
FluentTyper version
Version 2026.14.0
Operating system
Windows 11
Logs, screenshots, or recordings
No response