Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs typo #3924

Merged
merged 2 commits into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/website/content/guides/upgrading-to-1-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const oldBullettedList = {

- Ability to add new formats and content, or modify existing ones with [Parchment](https://github.com/quilljs/parchment/).

- Added support for nested list, superscript, subscript, inline code, code block, header, blockquote, text direction, video and forumla support.
- Added support for nested list, superscript, subscript, inline code, code block, header, blockquote, text direction, video and formula support.

- Ability to format with classes instead of inline styles.

Expand Down
32 changes: 16 additions & 16 deletions packages/website/src/pages/playground.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import classNames from "classnames";
import { useState } from "react";
import Default from "../components/Default";
import OpenSource from "../components/OpenSource";
import SEO from "../components/SEO";
import slug from "../utils/slug";
import classNames from 'classnames';
import { useState } from 'react';
import Default from '../components/Default';
import OpenSource from '../components/OpenSource';
import SEO from '../components/SEO';
import slug from '../utils/slug';

const pens = [
{ title: "Autosave", hash: "RRYBEP" },
{ title: "Class vs Inline Style", hash: "jAvpQL" },
{ title: "Form Submit", hash: "kXRjQJ" },
{ title: "Snow Toolbar Tooltips", hash: "ozYEro" },
{ title: "Autogrow Height", hash: "dOqrVm" },
{ title: "Custom Fonts", hash: "gLBYam" },
{ title: "Quill Playground", hash: "KzZqZx" },
{ title: 'Autosave', hash: 'RRYBEP' },
{ title: 'Class vs Inline Style', hash: 'jrvpQL' },
{ title: 'Form Submit', hash: 'ZOMjmo' },
{ title: 'Snow Toolbar Tooltips', hash: 'ozYEMo' },
{ title: 'Autogrow Height', hash: 'dOqrVm' },
{ title: 'Custom Fonts', hash: 'gLBYam' },
{ title: 'Quill Playground', hash: 'KzZqZx' },
].map((pen) => ({ ...pen, slug: slug(pen.title) }));

const isBrowser = typeof window !== "undefined";
const isBrowser = typeof window !== 'undefined';

const Playground = () => {
const [selectedPen, setSelectedPen] = useState(() => {
Expand All @@ -41,8 +41,8 @@ const Playground = () => {
{pens.map((pen, index) => (
<div
key={pen.slug}
className={classNames("four", "columns", {
"selected-pen": selectedPen == index,
className={classNames('four', 'columns', {
'selected-pen': selectedPen == index,
})}
>
<a
Expand Down