Skip to content

Showing build error with the next.js app #319

@M-A-Noman

Description

@M-A-Noman

Problem description

when build my project for an app with the next.js version 16+ it show following error.
In the previous 5.2.38 version of the jodit work perfectly with the next.js 16+ version but the issue arise with the new version of the jodit. Not sure which of the version after 5.2.38 introduce it. Please check the issue

122.7 > Build error occurred 122.9 Error: Turbopack build failed with 1 errors: 122.9 ./node_modules/jodit/es2021/jodit.min.css:1:92397 122.9 Parsing CSS source code failed 122.9 > 1 | .jodit-ui-group{display:inline-flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;max-width:100%}.jodit-ui-group_line_true{display:flex;justify-content:stretch}.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-left:0;border-right:1px solid var(--jd-color-border);content:"";cursor:default;margin:2px;padding: 122.9 'hover-title' is not recognized as a valid pseudo-class. Did you mean '::hover-title' (pseudo-element) or is this a typo?

Proposed solution

The problematic CSS should replace with modern CSS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions