Plugin for adding a Spotify Embed to the CKEditor.
Supports both Spotify URIs (spotify:album:1DFixLWuPkv3KT3TnV35m3) and Spotify URLs (http://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6).
Requires CKEditor 4.3+
with the widget
plugin . The editor instance must allow div
and iframe
tags.
The plugin uses a few custom styles. These are automatically included in the classic editor instance, but must be copied for inline editors and for the final target webpage. To include the custom styles into your editor/webpage, include the following in the <head>
of your document:
<head>
<link
rel="stylesheet"
href="<PATH_TO_CKEDITOR>/plugins/spotify/styles/spotify.css"
/>
</head>
Published in the official CKEditor plugin repository.
Currently supports English (en), Norwegian Bokmål (nb) and Ukrainian (uk). Want to provide translations for your own language? Please fork the project and open a pull request.
Run npx live-server .
in root folder and open http://localhost:8080/demo
to test out the plugin in an editor instance.