tinymce / tinymce-docs

TinyMCE Documentation
https://www.tiny.cloud/docs/
Other
86 stars 221 forks source link

I can't find what I'm looking for: api/tinymce.editor.ui/tinymce.editor.ui.registry.html #2170

Open joyously opened 2 years ago

joyously commented 2 years ago

In the code, there is a getAll function, but it is not in the docs. Does that mean it's private? It doesn't look any different than the others.

tylerkelly13 commented 2 years ago

Hi @joyously,

We do use it internally, and it is used in the docs, such as the command at the top of this page: https://www.tiny.cloud/docs/advanced/available-toolbar-buttons/

It may have been a temporary or experimental API for internal use, however there is no plan to change or remove it in TinyMCE 5 or TinyMCE 6, so it should be safe to use. I'll talk to the developers about documenting this API.

Tyler