ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

How to destroy the editor instance and how to add the id attribute in span of mention dropdown ?

Open Ruman-Al opened this issue 2 years ago • 12 comments

image Here is the js image

Here is the code for add anchor tag with attribute Id. I don't have idea from where I have to call this function if i follow the documentation then it shows error on plugins. image


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Ruman-Al avatar May 24 '23 13:05 Ruman-Al

As for the destroy, check the method in this article.

What do you mean by span? Your writer creates an a: image

Witoso avatar May 25 '23 11:05 Witoso

As for the destroy, check the method in this article.

What do you mean by span? Your writer creates an a: image

I will replace it with span. The point is from where I have to call this method If I follow the article it shows error on plugins. Here image

Ruman-Al avatar May 26 '23 11:05 Ruman-Al

And what is the error?

Witoso avatar May 29 '23 13:05 Witoso

And what is the error?

The error you can show in image,If I remove the line No 6 from editor's code all works well except mentioncustomization function.I have need to call the MentionCustomization function. image

image

Ruman-Al avatar May 30 '23 08:05 Ruman-Al

But what is the error in the IDE in line 6?

Witoso avatar May 30 '23 11:05 Witoso

No error is showing in IDE that's why the editor is not enable. the error is showing on browser only that I shared with you already.

Ruman-Al avatar May 31 '23 11:05 Ruman-Al

I see that the editor is showing an error on line 6 (red underline). Is there any tooltip there?

Witoso avatar Jun 05 '23 07:06 Witoso

I see that the editor is showing an error on line 6 (red underline). Is there any tooltip there?

There is no tooltip.

Ruman-Ali avatar Jun 12 '23 06:06 Ruman-Ali

@Witoso Is there anyone who can help me better.

Ruman-Ali avatar Jun 26 '23 08:06 Ruman-Ali

I would love to help but TBH your IDE shows an error on this line, and you're not reporting what the error is. From what I can tell either the Mention package is not installed or you're importing it in the wrong way.

Witoso avatar Jun 27 '23 08:06 Witoso

As I discussed there is no error on IDE the error is on the browser. and I have custom build editor where I select the mention plugin at the time of creation. mention plugin working well until I follow the 3rd line of documentation (plugins line). image

Ruman-Ali avatar Jun 27 '23 12:06 Ruman-Ali

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Jun 27 '24 03:06 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Jul 28 '24 03:07 CKEditorBot