Possibly missing exports from ckeditor5
package
#17207
Labels
domain:integration-dx
This issue reports a problem with the developer experience when integrating CKEditor into a system.
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?
Per request on the latest release, here are the imports that are currently still part of our build with custom plugins that are not exposed in the new
ckeditor5
package:import {type PlaceOrOffset} from '@ckeditor/ckeditor5-engine/src/model/selection';
Used for a custom
Command
in our plugin, that allows inserting some specific content "near" the selected element. This command has a constructor with aposition
argument to allow for easy reuse, which is typedPlaceOrOffset
to match with the expected type onModel.insertObject
. Alternatively I could introduce a custom similar type (maybe even more restrictive), but I'd prefer an import.import {isLinkElement} from '@ckeditor/ckeditor5-link/src/utils';
Used within a custom plugin that is very similar to the Link plugin.
Hopefully this is helpful enough and these usecases may warrant exporting them from the new package. If not, feel free to close!
If you'd like to see this feature implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: