Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

142
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda