SpreadJS 18.2.1 Designer crash when changing language to Japanese/Korean/Chines

Posted by: ndiep2210 on 13 October 2025, 2:58 am EST

  • Posted 13 October 2025, 2:58 am EST - Updated 13 October 2025, 3:07 am EST

    Hi team,

    I’m currently migrating our app from SpreadJS 17.x to 18.2.1, and I encountered an issue with the Designer component when switching the language to Japanese, Korean, or Chinese.

    When I load the following resources:

    [code]

    [/code]

    and open the Designer in those languages, I get this error in the console:

    Uncaught TypeError: Cannot read properties of undefined (reading 'fontScriptCode')
        at gc.spread.sheets.designer.all.18.2.1.min.js:2073

    The error occurs when clicking the Font dropdown under Page Layout in the ribbon.

    When I switch back to English resources, everything works fine.

    Environment:

    SpreadJS Designer 18.2.1

    Confluence Forge App (custom integration, browser-based)

    Languages tested: ja, ko, zh, en

    All JS files load successfully (confirmed in Network tab)

    Thank you for your help!

    — Diep Nguyen

  • Posted 13 October 2025, 4:59 am EST - Updated 13 October 2025, 5:07 am EST

    Hi,

    As I understand, when you switch to another language such as Japanese, Korean, or Chinese, and then click the Font dropdown under Page Layout in the ribbon, an error appears in the console and the designer component crashes.

    We attempted to replicate this behavior with the information provided but were unable to do so. On our side, the designer component works as expected without any errors when switching languages and opening the font dropdown in the Page Layout tab. Please refer to the attached GIF and sample for reference.

    GIF:

    Sample: Sample.zip

    To assist you better, could you provide a minimal working sample along with the steps to reproduce the issue, or modify the existing sample to replicate the behavior? This will help us investigate the problem more thoroughly. Additionally, a GIF or video illustrating the issue would be very helpful.

    Regards,

    Priyam

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels