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

196
Views
¿Hay alguna forma de hacer que la tabla mejor de la pluma no se pueda editar?

Tengo un editor quill con un módulo quill-better-table. Quiero que no se pueda editar en ciertos momentos, así que lo configuré en solo lectura. Esto funciona para botones y texto, pero la tabla aún se puede editar. El menú contextual (operationMenu) también está disponible.

¿Hay alguna forma de hacer que la mejor tabla no se pueda editar?

 const quill = new Quill('#editor-wrapper', { theme: 'snow', readOnly: this.readOnly || false, modules: { table: false, // disable table module 'better-table': { operationMenu: { items: { unmergeCells: { text: 'Another unmerge cells name' } } }, toolbar: { container: [ ['tableCreate'], // custom button for create table ], handlers: { 'tableCreate': () => this.addCreateTableBtnEvent() } }, } } })
 addCreateTableBtnEvent: function () { const table = quill.getModule('better-table'); table.insertTable(2, 2); }
about 4 years ago · Juan Pablo Isaza
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!