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

183
Views
Multilingual with ckeditor

How to use ckeditor 5 with mulitlingual approach. My approach does not work. Just the 1st textarea works fine.

thank you

1st textarea

<textarea name="categories_description_1" id="categories_description_1" /></textarea>
<script>
    // elfinder folder hash of the destination folder to be uploaded in this CKeditor 5
    const uploadTargetHash = 'l2_Q0stRmlsZXM';
   
// To create CKEditor 5 classic editor
ClassicEditor
    .create(document.querySelector('#categories_description_1') , {
            toolbar: ['heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'imageUpload', 'ckfinder', 'blockQuote', 'insertTable', 'mediaEmbed', 'undo', 'redo', '|', 'help']
        } )
      .then(editor => {

2nd textarea

<textarea name="categories_description_2" id="categories_description_2" /></textarea>
<script>
    // elfinder folder hash of the destination folder to be uploaded in this CKeditor 5
    const uploadTargetHash = 'l2_Q0stRmlsZXM';

    // To create CKEditor 5 classic editor
    ClassicEditor
        .create(document.querySelector('#categories_description_2') , {
        toolbar: ['heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'imageUpload', 'ckfinder', 'blockQuote', 'insertTable', 'mediaEmbed', 'undo', 'redo', '|', 'help']
    } )
  .then(editor => {

the console message

    Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. node.js:393
    toolbarview-item-unavailable 
Object { name: "help" }
 
Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-toolbarview-item-unavailable ckeditorerror.js:146:9

Uncaught SyntaxError: redeclaration of const uploadTargetHash
    <anonymous> http://localhost/Admin/index.php?A&Catalog\Categories&Edit&cPath=&cID=14:402
index.php:402:1
    <anonyme> http://localhost/Admin/index.php?A&Catalog\Categories&Edit&cPath=&cID=14:402
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!