Page tree
Skip to end of metadata
Go to start of metadata

A developer may choose to prevent local images from being added to an editor. When local images have been blocked, the insert image dialog does not display the Local Files tab. If the user attempts to paste an image into the editor or use drag and drop to insert an image, an error message is displayed.

Example Configuration

In this example, a simple configuration object is created that prevents local images from being inserted.

var config = {
	images : {
		allowLocal : false	
	}
};
 
var editor = textboxio.replace('#targetId', config);
  • No labels