Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

140
Visualizações
Can CKEditor's add link plugin work with Angular 12

We have recently updated our angular app from version 11 to version 12. In our app we also have CKEditor version 4.11.2 and for various Business related reasons we are unable to upgrade this.

Since the Angular upgrade the add link function in CKEditor is not working, when clicking OK no link is added and then the cursor move back to the beginning of the text.

My colleague has spent a lot of time trying to resolve the issue and has discovered that the ranges array that should contain the nodes and also have add the new (link) node added to is always empty.

She has also added the following code:

var range = c.createRange();
range.selectNodeContents( c.editable() );
if(!range.collapsed) range.collapse();
if(g.length == 0) g = [range];

Which does successfully add the link to the text but only at the top or the bottom of the text instead of the correct position.

Any help with this would be appreciated.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda