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

278
Vistas
TinyMCE - Save Changes - keyup / onChange / blur ? Which is best?

I'm using TinyMCE in a Filemaker file. I'd like to save changes when typing, or if formatting is applied, or for example, a list is applied or an image inserted. No matter what the changes.

I want to call a function in my init script, when changes are made... BUT ... I don't want it to be too frantic, because it slows down Filemaker too much.

I found this snippet which works very well for typing, because of it managing the keyup timeout. However, it doesn't work for other changes, e.g. adding formatting. I have it set to run a function further down, which triggers a Filemaker script (saveTEMP).

var keypupTimer
tinymce.init({
selector: '#GSNotes',

setup : function(ed) {
        ed.on('keyup', function (e) {    
            clearTimeout(keypupTimer);
            keypupTimer = setTimeout( saveTEMP, 1000);                
        });                    
    },

Questions:

1/ How can I adapt it to cater to edits other than typing/keyboard?

2/ Is this the best method for me to use? Would something like BLUR be better?

Many thanks for any help/pointers

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

There seems to be a FormatApply event provided by TinyMCE, or maybe even ExecCommand.

This should be an helpful ressource to run more tests: https://www.tiny.cloud/docs/advanced/events/

Regarding the keyboard input event blur would only trigger when you change field.

keyup seems fine event though a bit specific, input is more generic.

about 4 years ago · Juan Pablo Isaza Denunciar
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