Unable to save the generated output into CKEditor with smartlinker plugin

Created on 27 May 2025, 6 days ago

Problem/Motivation

When we install the "smart linker AI" plugin in the CKEditor and use that plugin with any content, then generating a result and clicking "Save changes to editor," the originally selected text disappears instead of being replaced with the modified content. This disrupts user expectations and results in data loss within the editor.

Steps to reproduce

1. Enable the SmartLinker AI Module plugin in CKEditor
2. Choose the AI provider and save the configuration
3. Open a CKEditor field in the content
4. Select any portion of text.
5. Click the "Generate Internal Links" plugin under AI Assistant.
6. In the modal, add a keyword or a number of links
7. Click on the generate button
8. Once the result is displayed in the "Result" field, click "Save changes to editor".
9. Observe that the original selected text disappears, and no replacement is inserted.

Please check the Video link for reference:
Link : https://www.loom.com/share/a3971de7e05a40ccbe8400ba417eb89c

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India Ishani Patel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024