-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
吴君
committed
Oct 31, 2024
1 parent
5f3cbbb
commit 4a3874f
Showing
6 changed files
with
69 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/logo.jpg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Muya Example</title> | ||
</head> | ||
<body> | ||
<div class="tools"> | ||
<button id="undo">UNDO</button> | ||
<button id="redo">REDO</button> | ||
<input id="search" type="text" placeholder="Search text..."> | ||
<button id="previous">Previous</button> | ||
<button id="next">Next</button> | ||
<input id="replace" type="text" placeholder="Replace text..."> | ||
<button id="single">Single</button> | ||
<button id="all">All</button> | ||
<button id="set-content">Set Content</button> | ||
<button id="select-all">Select All</button> | ||
</div> | ||
<div class="editor-container"> | ||
<div id="editor"></div> | ||
</div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/logo.jpg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Muya Example</title> | ||
</head> | ||
<body> | ||
<div class="tools"> | ||
<button id="undo">UNDO</button> | ||
<button id="redo">REDO</button> | ||
<input id="search" type="text" placeholder="Search text..." /> | ||
<button id="previous">Previous</button> | ||
<button id="next">Next</button> | ||
<input id="replace" type="text" placeholder="Replace text..." /> | ||
<button id="single">Single</button> | ||
<button id="all">All</button> | ||
<button id="set-content">Set Content</button> | ||
<button id="select-all">Select All</button> | ||
<button id="destroy">Destroy</button> | ||
</div> | ||
<div class="editor-container"> | ||
<div id="editor"></div> | ||
</div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"name": "muya-examples", | ||
"version": "0.0.1", | ||
"description": "Muya vanilla ts demo project", | ||
"author": "jocs <[email protected]>", | ||
"scripts": { | ||
"dev:demo": "vite" | ||
}, | ||
"keywords": [], | ||
"license": "MIT", | ||
"dependencies": { | ||
"@muyajs/core": "workspace:*", | ||
"intl-segmenter-polyfill": "^0.4.4" | ||
} | ||
} | ||
"name": "muya-examples", | ||
"version": "0.0.1", | ||
"description": "Muya vanilla ts demo project", | ||
"author": "jocs <[email protected]>", | ||
"license": "MIT", | ||
"keywords": [], | ||
"scripts": { | ||
"dev:demo": "vite" | ||
}, | ||
"dependencies": { | ||
"@muyajs/core": "workspace:*", | ||
"intl-segmenter-polyfill": "^0.4.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters