Skip to content

Commit 86fcc39

Browse files
committed
feat(richtext): clean up some logs
1 parent dee442d commit 86fcc39

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

packages/decap-cms-widget-richtext/src/RichtextControl/VisualEditor.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ export default function VisualEditor(props) {
115115

116116
const initialValue = props.value ? markdownToSlate(props.value, {}) : emptyValue;
117117

118-
console.log('pakaaka', ParagraphPlugin.key);
119-
120118
const editor = usePlateEditor({
121119
override: {
122120
components: {

packages/decap-cms-widget-richtext/src/RichtextControl/components/Element/ShortcodeElement.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ function ShortcodeElement(props) {
6060
}
6161

6262
function handleInsertBefore() {
63-
console.log('path', path);
6463
insertElements(
6564
editor,
6665
{ type: ParagraphPlugin.key, children: [{ text: '' }] },

packages/decap-cms-widget-richtext/src/RichtextControl/components/Toolbar/HeadingToolbarButton.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ function HeadingToolbarButton({ disabled, isVisible, t }) {
3737
return ParagraphPlugin.key;
3838
}, []);
3939

40-
41-
console.log('HeadingToolbarButton', value);
42-
4340
function handleChange(optionKey) {
4441
unwrapList(editor);
4542
toggleBlock(editor, { type: optionKey });

0 commit comments

Comments
 (0)