ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.79k stars 2.47k forks source link

Incomplete documentation for autocomplete #3622

Open eddi13 opened 4 years ago

eddi13 commented 4 years ago

Type of report

Docs

Provide a description of requested docs changes

That support for the Function type for Template was added in version 4.12.0 In docs of plugin Autocomplete for itemTemplate and outputTemplate there it is String only.

https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_autocomplete_configDefinition.html#property-itemTemplate and https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_autocomplete_configDefinition.html#property-outputTemplate should be changed.

Tectract commented 4 years ago

ugh, why is autocomplete a part of an EMOJI PICKER??? Can you say FEATURE CREEP???

The whole thing is broken. I installed like 8 dependencies and dependencies of dependencies and it didn't work for me. Whole thing needs to be slimmed down and re-released as "emoji-simple" with NO DEPENDENCIES except like, dialog.