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
Jodit wysiwyg con ancho td

tengo este wysiwyg en una table > tbody > td

 <td> <textarea class="wysiwyg" maxlength="2000"></textarea> </td>

Este es mi js para la inicialización.

 const initWysiwygs = (config = {}, wysiwygSelector = '.wysiwyg') => { if ($(wysiwygSelector).length <= 0) return; if (Object.keys(config).length <= 0 ) { config = { editHTMLDocumentMode: true, toolbarButtonSize: "small", disablePlugins: "paste-storage,clipboard,key-arrow-outside,error-messages,font,format-block,fullsize,hotkeys,iframe,indent,inline-popup,justify,limit,link,mobile,ordered-list,powered-by-jodit,placeholder,redo-undo,resizer,search,select,resize-handler,source,stat,sticky,symbols,tooltip,tab,xpath,image-properties,image-processor,file,resize-cells,select-cells,table-keyboard-navigation,table,copy-format,size,about,focus,class-span,backspace,enter,wrap-text-nodes,print,preview,hr", askBeforePasteHTML: false, askBeforePasteFromWord: false, defaultActionOnPaste: "insert_as_html" } } // default config $(wysiwygSelector).each(function () { new Jodit(this, config); }); }

Cuando trato de agregar un width , cambia de tamaño. Si elimino el wysiwyg de la <table> todo está bien.

Quiero saber How can I use the jodit in a <table>?

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!