nextcloud / nextcloud/text

Support del and ins tags to suggest changes to a document

Open
#7,090 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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?
When suggesting a change to a document the only option seems to be to use strikethrough but this does not work in all situations e.g. you can't strike through bold text 🤷. Also the suggested insertion isn't highlighted.

Describe the solution you'd like
The html way to do this track change like thing seems to be to use <del></del> and <ins></ins> tags https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del

Additional context
Other markdown renderers support it e.g. nextcloudgithub

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 Markdown rendering or editor entry point in nextcloud/text and check how existing strikethrough markup is handled. Confirm support for and , then verify that deletions and insertions render distinctly, including around bold text.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript, markdown
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.