codex-team / editor.js

A block-style editor with clean JSON output
https://editorjs.io
Apache License 2.0
28.69k stars 2.08k forks source link

Slash doesn't open toolbox #2597

Closed fitterfizzle closed 9 months ago

fitterfizzle commented 9 months ago

With v2.29.0 Tab doesn't open the Toolbox anymore since it was changed to slash.

However, when typing a "/" in an empty line, the toolbox doesn't appear, only the slash gets typed.

neSpecc commented 9 months ago

We need more information on how this problem could be reproduced.

Do you have any tools connected?

fitterfizzle commented 9 months ago

We are using following tools:

{
  header: Header,
  table: Table,
  list: NestedList,
  checklist: CheckList,
  warning: Warning,
  code: Code,
  embed: Embed,
  raw: Raw,
  quote: Quote,
  delimiter: Delimiter,
  underline: Underline,
  marker: Marker,
  inlineCode: InlineCode,
  simpleImage: SimpleImage,
}

Tried also disabling all tools but still no toolbox shows up when typing the "/"

fitterfizzle commented 9 months ago

As an additional information, editor.js is being used in a react environment.

neSpecc commented 9 months ago

Try demo on editorjs.io. Does it work for you?

fitterfizzle commented 9 months ago

Just tried on the homepage, it also doesn't work there:

SCR-20240126-kkpb

Just one additional piece of information, have been testing this on a Mac.

ilyamore88 commented 9 months ago

Reproducible with Spanish layout in Chrome on MacOS.

Hi @fitterfizzle. Could you please also provide the information about your keyboard layout and browser?

fitterfizzle commented 9 months ago

CH layout and Chrome. However just tested it with Safari and there it works.

ilyamore88 commented 9 months ago

Same for Spanish layout. I believe Chrome has different key codes for the Slash button in some layouts.

neSpecc commented 9 months ago

@fitterfizzle would you test it in 2.29.1?

fitterfizzle commented 9 months ago

Testing with 2.29.1 and it appears to be working for my case. Thank you!