editorjs-quiz
v0.1.0
Published
## Disclaimer My advice: Do not use this library =)
Downloads
5
Readme
Editor.js plugin for inserting links to quizzes
Disclaimer
My advice: Do not use this library =)
Info
Supported quizzes:
- playbuzz.com
Installation
yarn add editorjs-quiz
Usage
import QuizTool from "editorjs-quiz";
// ...
var editor = EditorJS({
tools: {
quiz: {
class: QuizTool,
}
}
});
Data example
{
"type": "quiz",
"data": {
"link": "https://www.playbuzz.com/item/6579cfd3-f855-43d9-939a-fca91bb748dd",
"provider": "playbuzz",
"html": "...",
"frame": null,
"id": "6579cfd3-f855-43d9-939a-fca91bb748dd",
"thumbnail": null
}
}