Copying raw text includes a bunch of QT formatting rules

Abierto
#817 17 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp
Área
desktop

Línea de trabajo

Start by reproducing the copy behavior in the editor and inspect the editor's clipboard handling; the issue does not name a file or test. Compare pasting copied text into a browser with the Markdown source. Done means copying produces raw text without the extra QT formatting rules.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Help wanted Scripting Type: Feature
Expected behaviour

Copying the text from the editor should copy it as raw text without formatting rules (since rules are defined as markdown)

Actual behaviour

When I copy from the editor into a web browser (e.g. a blog post) I get a bunch of extra tags that seem to contain QT formatting rules for every paragraph.

Comments

Since it's a markdown text it's assumed that there shouldn't styling rules copied as well since the rules are defined in the text data. It's also not a rich text editor so even if it wasn't markdown then these rules shouldn't be included on copy.

Lenguaje dominante
C++
Estrellas
5.9k
Forks
499
Merge medio
4 h 4 min
PR fusionados (30 d)
3

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pbek/QOwnNotes

Todos los issues de pbek/QOwnNotes

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.