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

230
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 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