Skip to content

Commit

Permalink
fix: solved linter
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Nov 21, 2024
1 parent 9ffaebc commit 869692e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion playground/react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ function App() {

const formattedHtml = convertAttributesInElement(html);

console.log(formattedHtml);
// console.log(formattedHtml);
return (
<>
{formattedHtml}
Expand Down
6 changes: 3 additions & 3 deletions playground/vanilla/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './style.css';
import { MarkTypes, richTextResolver, type StoryblokRichTextNode, type StoryblokRichTextOptions } from '@storyblok/richtext';
import StoryblokClient from 'storyblok-js-client';

const test = {
/* const test = {
type: 'doc',
content: [
{
Expand All @@ -29,7 +29,7 @@ const test = {
],
},
],
};
}; */
/* const doc: StoryblokRichTextDocumentNode = {
type: 'doc',
content: [
Expand Down Expand Up @@ -434,7 +434,7 @@ const options: StoryblokRichTextOptions<string> = {
},
};

const html = richTextResolver(options).render(test);
const html = richTextResolver(options).render(docFromStory);

document.querySelector<HTMLDivElement>('#app')!.innerHTML = `
<div class="this-div-is-on-purpose">
Expand Down
1 change: 0 additions & 1 deletion playground/vue/src/components/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import type { VNode } from 'vue';
import { createTextVNode, h } from 'vue';
import { BlockTypes, richTextResolver, type StoryblokRichTextNode, type StoryblokRichTextOptions } from '@storyblok/richtext';
import { RouterLink } from 'vue-router';
import { useStoryblok } from '@storyblok/vue';
import CodeBlock from './CodeBlock.vue';
Expand Down

0 comments on commit 869692e

Please sign in to comment.