Incorrect documentation (or impl) for contextmenu image entry

Open
#1,900 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start with the contextmenu documentation linked in the issue and inspect the current handling of the image entry in TinyMCE 5.x. Compare the documented behavior with the actual context menu and the previously working 4.x behavior; done means either the documentation matches the implementation or the Image item appears as documented.

Written by the indexing model from the issue text.

Description

bug

What is the current behavior? Describe the bug
The contextmenu documentation indicates the following :

identifier Core/Plugin Description
image Image Adds the Image… item for opening the Insert/Edit Image dialog.

As already reported by several issues (tinymce/tinymce#5646, tinymce/tinymce#5886, tinymce/tinymce#6349, ...), this is not the actual behavior :
The "image" insertion will not appears in the context menu.

What is the expected behavior?
A documentation which describe the current behavior, or an implementation with follows the documentation 😄
My personal preference would be to fix the implementation to make the image insertion item appear, exactly as it was in 4.x. And given the number of issues on this subject, I guess i'm not the only one ;)

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?
Affected : 5.x
Previous working version : 4.x

Dominant language
JavaScript
Stars
96
Forks
219
Avg merge
1d 4h
Merged PRs (30d)
26

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.

More from tinymce/tinymce-docs

All issues in tinymce/tinymce-docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.