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

233
Views
Jodit wysiwyg with td width

I have this wysiwyg in a table > tbody > td

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

This is my js for initialisation

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);
    });
}

When I try to add a width, it resizes. If I remove the wysiwyg from the <table> everything is fine.

I want to know 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!