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

143
Vistas
Angular content editable element cursor moves to the beginning

I'm working on a project which I want to use <table> with content editable <td>s, the problem I'm facing is when I type text in the <td> element cursor keeps jumping to the beginning of the word and if I type 123 it will be typed as 321 in the <td>

<td>Freight Costs to dealership</td>
<td colspan='6' class='text'
contenteditable 
[ngModel]="quateForm.get('dealershipNote').value" 
[ngModelOptions]='{standalone: true}' 
(input)='onChangeDealershipNote($event.target.textContent)'>

and

onChangeDealershipNote(e) {
  this.quateForm.patchValue({ dealershipNote: e });
}

please note that After saving, I want to view and edit the content in the future.

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