Skip to content

Commit

Permalink
Merge pull request #3924 from quilljs/zh-merge-3883
Browse files Browse the repository at this point in the history
Fix docs typo
  • Loading branch information
luin authored Dec 9, 2023
2 parents bf35b4b + 0e2167a commit 4074f5c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
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

0 comments on commit 4074f5c

Please sign in to comment.