CKEditor 4用のプラグインです。 Plugins for CKEditor 4.
CKEditorプラグインディレクトリにディレクトリごとコピー。 Copy the plugin directory into CKEditor plugin directory.
Add configuration if the plugin needs.
It requires jQuery library.
<script src="proxy.php?url=https%3A%2F%2Fcode.jquery.com%2Fjquery-1.12.4.min.js"></script>
Load Google Maps API.
<script src="proxy.php?url=https%3A%2F%2Fmaps.googleapis.com%2Fmaps%2Fapi%2Fjs%3Fkey%3DYOUR_GOOGLE_MAPS_API_KEY"></script>
Cofiguration sample
CKEDITOR.replace('editor', {
language: 'en',
// language: 'ja',
extraPlugins: 'm3googlemaps',
googlemapsPlugin: {
apiKey: "YOUR_GOOGLE_MAPS_API_KEY"
},
toolbar: [
["Source"],
["Link", "Image", "Table", "HorizontalRule"],
["Bold", "Underline", "Strike"],
["M3Googlemaps"], // Google Maps plugin
],
});