How to use the @ckeditor/ckeditor5-widget/src/utils.viewToModelPositionOutsideModelElement function in @ckeditor/ckeditor5-widget

To help you get started, we’ve selected a few @ckeditor/ckeditor5-widget examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ckeditor / ckeditor5-core / tests / _neos / block.js View on Github external
_setMapping() {
		this.editor.editing.mapper.on(
			'viewToModelPosition',
			viewToModelPositionOutsideModelElement( this.editor.model, viewElement => viewElement.getCustomProperty( 'objectBlock' ) )
		);
	}