Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

229
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!