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

148
Visualizações
jstree rename node block alert tag HTML

I have a code used to edit the name in jstree, but when I change the name with an html code, it shows a message, how to block the html code?

'Rename': {
          "separator_before": false,
          "separator_after": false,
          "label": "Edit",
          "icon": "fas fa-edit",
          "action": function (data) {
                     var inst = $.jstree.reference(data.reference),
                     obj = inst.get_node(data.reference),
                     selected_id = obj.id;
                     let a = $('a #1-1-1_anchor ').jstree('get_selected', true)[0];

                     let node_level = $('#' + selected_id).attr('aria-level'),
                     id = selected_id + "_anchor";
                     inst.edit(obj);
                     renameJsTree(obj);
                    }
                },

Demo:

enter image description here

and: enter image description here

How to block notifications or tag HTML? Please help me

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