Skip to content

[Bug]: FluentTyper suggestion container (ft-suggestion-container) gets injected into post content in Delphi Forums Classic editor #333

@murko69

Description

@murko69

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:

  1. Enable FluentTyper
  2. Whitelist Delphi Forums (Classic)
  3. Write a short post
  4. Submit the post
  5. Edit the post and switch to HTML/source view
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions