tinymce / tinymce/tinymce

toc plugin changes the header back on every update

Open
#5,697 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

plugin: table of contents status: escalated status: verified type: bug
Dominant language
TypeScript
Stars
16.3k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

What is the current behavior? Describe the bug

Every time I update the toc content, the header gets resetet to "Table of Contents".

What is the expected behavior?

I would expect the header to stay the same to what I changed it beforehand. Also I have tinymce localized to german, but the plugin is still english.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?

TinyMCE 5.2.2
Chrome

Am I missing something or is this a bug?

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 reproducing the TOC plugin behavior described in the issue with TinyMCE 5.2.2, changing the TOC header and updating its contents, then repeat with German localization enabled. Done means a customized header remains unchanged after updates and the plugin follows the configured localization, if both behaviors belong to the same fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.