nextcloud / nextcloud/notes

Toggle features that generate extra HTML

Open
#1,084 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request needs info
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Is your feature request related to a problem? Please describe.
Notes generates extra HTML such as:

<pre data-pm-slice="1 1 []">
...when I'm expecting just
<pre>

or

<H2 id="...."> instead of
<H2>
This can cause problems when copying directly from Notes to a certain fragile third party CMS.

Describe the solution you'd like

Toggles for extra features such as Data slice, ToC etc

Describe alternatives you've considered

Manually stripping out the extra HTML - which is a pain when I have to do it a few times every day

Additional context
Add any other context or screenshots about the feature request here.

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

No source files, tests, or entry points are named in the issue, so begin by locating the Notes HTML generation and the handling of Data slice and ToC. Done means users can toggle these extra features and receive the requested simpler HTML output for the described preformatted blocks and headings.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.