Unexpected behavior with part of inline tools
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
Línea de trabajo
Comienza reproduciendo el problema en Editor.js 2.30.8 con las herramientas paragraph, underline y strikethrough indicadas en el informe. Compara el manejo de la selección para underline y strikethrough con bold e italic y, a continuación, verifica que desactivar un estilo cambie únicamente el texto seleccionado y conserve el estilo en el resto del bloque.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe a bug. When you use styles (reproduced on underline and strikethrough) from inline toolbar for one text block, then press Shift+Enter (soft line break) or continue typing, then try to type something, it will contain old styles (which is probably fine behavior), but when you choose this part of text and try to disable new styles, it will disable it for all the text block, not only for choosen text. When you use "bold" or "italic" styles it works as expected, but with strikethrough and underline I got problems.
Steps to reproduce:
- Go to editorjs text block
- Type any text, for example: "This is my text"
- Choose everything and cover with underline or strikethrough
- choose "text" and try to disable strikethrough or underline
Expected behavior:
Choosen part became not underlined, while other contains it styles.
Video with this bug below:
https://github.com/user-attachments/assets/b5208f67-0fae-4009-bdfc-1e2d58f792d1
https://github.com/user-attachments/assets/c4916612-0534-43be-8787-f5c04526f318
PC, Windows, Chrome 137.0.7151.56.
Editor.js version: 2.30.8
Plugins you use with their versions:
@editorjs/paragraph@^2.11.7
@editorjs/underline@^1.2.1
@sotaproject/strikethrough@^1.0.1
- Lenguaje dominante
- TypeScript
- Estrellas
- 32k
- Forks
- 2.2k
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codex-team/editor.js
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
codex-team/editor.js#3037 ·
-
Floating Promise Anti-Pattern & Premature Caret in Multi-Block PastePosiblemente ocupada @anshurajbisoyi98-ctrl la tomó hace 12 días. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
codex-team/editor.js#3032 · 1 comentario ·
-
Silent Data Loss & Broken Error Contract in Saver.save()Posiblemente ocupada @Sion612 la tomó hace 22 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
codex-team/editor.js#3030 ·
-
Complete Omission of block.destroy() in Blocks CollectionPosiblemente ocupada @Minhal128 la tomó hace 21 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
codex-team/editor.js#3029 ·
-
Bug: Link cannot be removedPosiblemente ocupada @prathmeshyelne la tomó hace 128 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
codex-team/editor.js#3005 · 1 comentario ·
Todos los issues de codex-team/editor.js
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
QuantumNous/new-api#7839 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
bug p2 triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
getpaseo/paseo#7071 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging itAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
code-yeongyu/senpi#3436 ·
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
lingdojo/kana-dojo#32505 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día