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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

릴리즈 2.4.0 이상

You may apply plugins provided by SynapEditor to use extended features.

How to Use Plugins


Loading Plugins

<!-- Note) Plugin files shall be written under SynapEditor file.-->

<!-- SynapEditor File-->
<link rel="stylesheet" href="../synapeditor.min.css">
<script src="../synapeditor.min.js"></script>

<!-- Plugin File-->
<link rel="stylesheet" href="../plugins/webAccessibilityChecker/webAccessibilityChecker.min.css">	
<script src="../plugins/webAccessibilityChecker/webAccessibilityChecker.min.js"></script>

Generating Plugin UI

<script>
	new SynapEditor('ID of HTML element to initialize the Editor', {
		//...
		'editor.toolbar': [
			//...	
			'webAccessibilityChecker' //If you wish to expose the buttons provided by a plugin, use the name provided by the plugin for the name of UI, just as the exsiting Editor configurations.
			//...
		] 
		//...
	});
</script>

Provided Plugins


How to Create a Custom Plugin


  • No labels