Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx committed Jul 10, 2024
1 parent a1a43ba commit 9b964f3
Show file tree
Hide file tree
Showing 36 changed files with 418 additions and 418 deletions.
2 changes: 1 addition & 1 deletion examples/react-plain-text/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script src="/src/main.tsx" type="module"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/react-rich-collab/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script src="/src/main.tsx" type="module"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions examples/react-rich-collab/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ <h1 align="center" style="margin: 0; font-size: 1.3em">
React.js Collaborative Lexical Example (see iframes below)
</h1>
<iframe
width="50%"
name="left"
src="/app"
style="
Expand All @@ -20,9 +19,9 @@ <h1 align="center" style="margin: 0; font-size: 1.3em">
top: 40px;
left: 0;
height: calc(100% - 44px);
"></iframe>
"
width="50%"></iframe>
<iframe
width="50%"
name="right"
src="/app"
style="
Expand All @@ -32,6 +31,7 @@ <h1 align="center" style="margin: 0; font-size: 1.3em">
top: 40px;
left: calc(50% + 1px);
height: calc(100% - 44px);
"></iframe>
"
width="50%"></iframe>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/react-rich/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script src="/src/main.tsx" type="module"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/vanilla-js-plugin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script src="/src/main.ts" type="module"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/vanilla-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script src="/src/main.ts" type="module"></script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Security-Policy" content="default-src 'self'" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="default-src 'self'" http-equiv="Content-Security-Policy" />

<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no" />

<link rel="stylesheet" href="../Style.css" />
<script src="../Script.js" defer></script>
<link href="../Style.css" rel="stylesheet" />
<script defer src="../Script.js"></script>
</head>
<body>
<img
src="../Icon.png"
width="128"
alt="Lexical Developer Tools Icon"
height="128"
alt="Lexical Developer Tools Icon" />
src="../Icon.png"
width="128" />
<p class="state-unknown">
You can turn on Lexical Developer Tools’s extension in Safari Extensions
preferences.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</head>
<body>
<div id="root">Loading Lexical DevTools UI...</div>
<script type="module" src="./main.tsx"></script>
<script src="./main.tsx" type="module"></script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="module" src="./main.ts"></script>
<script src="./main.ts" type="module"></script>
</head>
</html>
2 changes: 1 addition & 1 deletion packages/lexical-devtools/src/entrypoints/popup/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="./main.tsx"></script>
<script src="./main.tsx" type="module"></script>
</body>
</html>
42 changes: 21 additions & 21 deletions packages/lexical-playground/__tests__/e2e/AutoLinks.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ test.describe('Auto Links', () => {
html`
<p dir="ltr">
<span data-lexical-text="true">Hello</span>
<a href="http://example.com" dir="ltr">
<a dir="ltr" href="http://example.com">
<span data-lexical-text="true">http://example.com</span>
</a>
<span data-lexical-text="true">and</span>
<a href="https://example.com/path?with=query#and-hash" dir="ltr">
<a dir="ltr" href="https://example.com/path?with=query#and-hash">
<span data-lexical-text="true">
https://example.com/path?with=query#and-hash
</span>
</a>
<span data-lexical-text="true">and</span>
<a href="https://www.example.com" dir="ltr">
<a dir="ltr" href="https://www.example.com">
<span data-lexical-text="true">www.example.com</span>
</a>
</p>
Expand All @@ -67,7 +67,7 @@ test.describe('Auto Links', () => {
test.skip(isPlainText);
const htmlWithLink = html`
<p dir="ltr">
<a href="http://example.com" dir="ltr">
<a dir="ltr" href="http://example.com">
<span data-lexical-text="true">http://example.com</span>
</a>
</p>
Expand Down Expand Up @@ -139,17 +139,17 @@ test.describe('Auto Links', () => {
html`
<p dir="ltr">
<span data-lexical-text="true">Hello</span>
<a href="http://example.com" dir="ltr">
<a dir="ltr" href="http://example.com">
<span data-lexical-text="true">http://example.com</span>
</a>
<span data-lexical-text="true">and</span>
<a href="https://example.com/path?with=query#and-hash" dir="ltr">
<a dir="ltr" href="https://example.com/path?with=query#and-hash">
<span data-lexical-text="true">
https://example.com/path?with=query#and-hash
</span>
</a>
<span data-lexical-text="true">and</span>
<a href="https://www.example.com" dir="ltr">
<a dir="ltr" href="https://www.example.com">
<span data-lexical-text="true">www.example.com</span>
</a>
</p>
Expand All @@ -172,7 +172,7 @@ test.describe('Auto Links', () => {
page,
html`
<p dir="ltr">
<a href="https://" dir="ltr" rel="noreferrer">
<a dir="ltr" href="https://" rel="noreferrer">
<span data-lexical-text="true">hm</span>
</a>
</p>
Expand All @@ -187,7 +187,7 @@ test.describe('Auto Links', () => {
page,
html`
<p dir="ltr">
<a href="https://" dir="ltr" rel="noreferrer">
<a dir="ltr" href="https://" rel="noreferrer">
<span data-lexical-text="true">https://facebook.com</span>
</a>
</p>
Expand All @@ -210,15 +210,15 @@ test.describe('Auto Links', () => {
page,
html`
<p>
<a href="https://1.com/" dir="ltr">
<a dir="ltr" href="https://1.com/">
<span data-lexical-text="true">https://1.com/</span>
</a>
<span data-lexical-text="true">,</span>
<a href="https://2.com/" dir="ltr">
<a dir="ltr" href="https://2.com/">
<span data-lexical-text="true">https://2.com/</span>
</a>
<span data-lexical-text="true">;;;</span>
<a href="https://3.com" dir="ltr">
<a dir="ltr" href="https://3.com">
<span data-lexical-text="true">https://3.com</span>
</a>
</p>
Expand All @@ -239,19 +239,19 @@ test.describe('Auto Links', () => {
page,
html`
<p>
<a href="https://1.com/" dir="ltr">
<a dir="ltr" href="https://1.com/">
<span data-lexical-text="true">https://1.com/</span>
</a>
<span data-lexical-text="true"></span>
<a href="https://2.com/" dir="ltr">
<a dir="ltr" href="https://2.com/">
<span data-lexical-text="true">https://2.com/</span>
</a>
<span data-lexical-text="true"></span>
<a href="https://3.com/" dir="ltr">
<a dir="ltr" href="https://3.com/">
<span data-lexical-text="true">https://3.com/</span>
</a>
<span data-lexical-text="true"></span>
<a href="https://4.com/" dir="ltr">
<a dir="ltr" href="https://4.com/">
<span data-lexical-text="true">https://4.com/</span>
</a>
</p>
Expand All @@ -274,7 +274,7 @@ test.describe('Auto Links', () => {
html`
<p dir="ltr">
<span data-lexical-text="true">Hellohttps://example.com</span>
<a href="https://example.com" dir="ltr">
<a dir="ltr" href="https://example.com">
<span data-lexical-text="true">https://example.com</span>
</a>
</p>
Expand Down Expand Up @@ -321,7 +321,7 @@ test.describe('Auto Links', () => {
html`
<p dir="ltr">
<span data-lexical-text="true">Hello</span>
<a href="http://example.com" dir="ltr">
<a dir="ltr" href="http://example.com">
<span data-lexical-text="true">http://example.</span>
<strong data-lexical-text="true">com</strong>
</a>
Expand Down Expand Up @@ -369,7 +369,7 @@ test.describe('Auto Links', () => {
html`
<p dir="ltr">
<span style="font-size: 19px;" data-lexical-text="true">Hello</span>
<a href="http://example.com" dir="ltr">
<a dir="ltr" href="http://example.com">
<span style="font-size: 19px;" data-lexical-text="true">
http://example.com
</span>
Expand Down Expand Up @@ -528,7 +528,7 @@ test.describe('Auto Links', () => {
html`
<p dir="ltr">
<span data-lexical-text="true">Hello</span>
<a href="http://www.example.com" dir="ltr">
<a dir="ltr" href="http://www.example.com">
<span data-lexical-text="true">http://www.example.com</span>
</a>
<span data-lexical-text="true">test</span>
Expand Down Expand Up @@ -566,7 +566,7 @@ test.describe('Auto Links', () => {
html`
<p dir="ltr">
<span data-lexical-text="true">Hello</span>
<a href="http://www.example.com" dir="ltr">
<a dir="ltr" href="http://www.example.com">
<span data-lexical-text="true">http://www.example.com</span>
</a>
<span data-lexical-text="true">test</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ test.describe('Clear All Formatting', () => {
html`
<p class="PlaygroundEditorTheme__paragraph">
<a
href="https://facebook.com"
class="PlaygroundEditorTheme__link PlaygroundEditorTheme__ltr"
dir="ltr">
dir="ltr"
href="https://facebook.com">
<span data-lexical-text="true">Facebook!</span>
</a>
</p>
Expand Down
Loading

0 comments on commit 9b964f3

Please sign in to comment.