Skip to content

Even though I disable some editor plugins, they are displayed on mobile #243

@Tahmasb

Description

@Tahmasb

Jodit Version: 1.3.39

Browser: Chrome
OS: phone android
Is React App: true (in next.js app)

Code
"use client"
import styles from "./editor.module.css"

import JoditEditor from "jodit-react"
import { Grid } from "@mui/material"

const Editor = ({ mainRef }) => {
const config = {
height: "400px",
direction: "rtl",
disablePlugins: [
"table",
"video",
"file",
"symbols",
"print",
"bold",
"about",
"indent",
"redo-undo",
"search",
"font",
"ordered-list",
"image",
"preview",
"fullsize",
"hr",
// "link",
"line-height",
"justify",
// "format-block",
"class-span",
"clean-html",
"clipboard",
"color",
"spellcheck",
],
}
return (



)
}
export default Editor

I disabled some plugins, but these plugins are disabled only on the desktop (Windows). But I want these plugins to be disabled in the mobile version, but this is not happening.
What should I do to do this?

Expected behavior:
I expect that the plugins I disabled will also be disabled in the mobile version, but they will be disabled only in the computer(descotp)

Actual behavior:
But what happens is that my settings are only applied to desktop and not to mobile

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions