Issue #3652Opened July 28, 2021by NoumanAhmad-Braqsol0 reactions

[QUESTION] Grapes js not Recognize a link if i change a text into link .

Question

Hi @artf Capture

i am new at grapes js i write a function to convert seleted text into link . it works fine.

  var selectedText = editor.getSelection().getNative();
 editor.insertHtml("<a href=\""+link+"\" title=\""+title+"\" target=\""+target+"\">" + selectedText + "</a>");

when i select the component type It say it is a text . After refresh the page it Recognize a link. but i dont want to refresh it . How to do this ?

you can see above "Advantage" is a link now but in console it show it is a text

Answers (3)

artfJuly 31, 20210 reactions

Are you talking about the CKEditor or the default RTE?

NoumanAhmad-BraqsolAugust 2, 20210 reactions

I am using CKEditor .

artfAugust 2, 20210 reactions

This is not the right repository then

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.