JSFiddle - React, Tailwind, and code Playground
by Richard
HTML
<script src="https://cdn.ckeditor.com/4.11.1/standard/ckeditor.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CKEditor</title>
</head>
<body>
<textarea name="editor1"></textarea>
</body>
</html>
CSS
.cke_button__comment_label {
display: inline !important
}
JavaScript
CKEDITOR.plugins.add('ezhealth_widgets', {
"init": function(editor) {
// Add command button.
editor.ui.addButton('ezhealth_widget_' + size, {
"label": 'Do it!',
"command": 'ezhealth_widget_' + size,
});
}
});
CKEDITOR.replace( 'editor1' );