nextcloud / nextcloud/text

Document how to undo typography transforms while typing

Open
#8,260 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design discuss discussion documentation enhancement
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.
It seems, there are some automatic replacements in place.

Examples:

When you 4x3 then the x will be replace with a multiply sign ×, so the result will be 4×3.

When entering "Text" the quotes will get replaced depending on the language and it may become “Text”.

However I in some cases it is important to keep the text exactly as it was entered.

Describe the solution you'd like
There is either a global configuration in config/config.php to disable this kind of formatting or an option to disable it in the text editor when needed.

Describe alternatives you've considered
Removing the formatting completely and add an additional menu to enter special characters from a drop down list, when needed. This would also allow to enter characters which can not be found on keyboards like mathematical symbols etc..

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the text editor's automatic typography replacements and any existing configuration or editor-option entry points. Compare the requested global setting with a per-editor option, then define which behavior should be disabled and verify that literal input such as 4x3 and quoted text remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
content, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.