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

234
Visualizações
tinymce automatic list items

I am using the tinymce lib. this is my code:

<div class="beschreibung"></div>

<script>
tinymce.init({
   selector: '.beschreibung',
   inline: true,
   menubar: false,
   skin: "oxide-dark",
   toolbar: 'bold italic bullist',
   plugins: ['lists','autoresize'],
   toolbar_location: 'bottom',
   language: 'de'
}); 
</script>

This works fine.

Example:

enter image description here

But now I would realize an automatic creation of list items. My idea:

I write "- " (a single line with a space) This should create a list item automatically.

Is there a tinymce solution available ?

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

The textpattern plugin provides this functionality for TinyMCE. It will match against certain patterns while typing and perform an action, such as converting a line starting with - into a list when pressing enter. You can add other custom patterns as well by configuring the textpattern_patterns setting, however the default should do what you require.

See https://www.tiny.cloud/docs/plugins/opensource/textpattern/ for more information.

about 4 years ago · Juan Pablo Isaza Relatório

0

For those who want to off this functionality.

Text patterns are now on by default: text_patterns: false turns the functionality off.

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