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

React 19 version but no suggestion feature. #363

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
1c75f46
Allow async suggestions #302
kmvan Apr 4, 2022
0f588aa
Update ReactMde.tsx #323
kmvan Apr 4, 2022
5c00652
fix: minEditorHeight and maxEditorHeight #325
kmvan Apr 4, 2022
6865c5c
recode using FC
kmvan Apr 7, 2022
6be2902
adjust config
kmvan Apr 7, 2022
4906629
fix check list
kmvan Apr 7, 2022
b335588
change package info
kmvan Apr 8, 2022
f8b2c36
adjust include files
kmvan Apr 8, 2022
795f6d5
add export
kmvan Apr 8, 2022
7c94b00
fix build script
kmvan Apr 9, 2022
4400aa8
adjust readme
kmvan Apr 9, 2022
a8dfe2c
remove babel
kmvan Apr 9, 2022
146f615
fix order
kmvan Apr 10, 2022
17640ad
change readme
kmvan Apr 10, 2022
371863a
change readme
kmvan Apr 10, 2022
ecc3ada
add key event
kmvan Apr 10, 2022
d624d29
adjust demo
kmvan Apr 10, 2022
400c091
update version
kmvan Apr 10, 2022
fa9c52d
fix typings
kmvan Apr 11, 2022
881066e
fix typings
kmvan Apr 11, 2022
2ee072e
update version
kmvan Apr 14, 2022
a50291a
update readme
kmvan Apr 18, 2022
71f5351
update package
kmvan Apr 18, 2022
b85a979
update package
kmvan Apr 18, 2022
ce6c207
update package
kmvan Apr 18, 2022
ebe9baa
update readme
kmvan Apr 18, 2022
bd90138
update package
kmvan Apr 18, 2022
eecf28c
update package
kmvan Apr 25, 2022
83df6fd
Update readme.md
kmvan Jun 7, 2022
bfd131e
adjust typing
kmvan Aug 30, 2022
e81bc01
optimize language component
kmvan Aug 30, 2022
1f36713
Merge remote-tracking branch 'origin/master'
kmvan Aug 30, 2022
5bb4894
Use lucide-react instead of awesome-icon
kmvan Jul 15, 2023
a7b47a8
update version
kmvan Jul 15, 2023
f489905
remove styled-component
kmvan Jul 17, 2023
eed38a5
use rollup to pack
kmvan Jul 18, 2023
c7df025
use webpack instead rollup
kmvan Jul 21, 2023
92eb502
fix esm/cjs lib
kmvan Jul 22, 2023
4170ee9
fix lib
kmvan Jul 23, 2023
8628f0d
adjust file ext
kmvan Aug 3, 2023
c4f31e9
remove .js files in src dir
kmvan Aug 9, 2023
3624630
upgrade to vite
kmvan Dec 30, 2024
4a37382
1.0.0
kmvan Dec 30, 2024
5d2c269
publish 1.0.0
kmvan Dec 30, 2024
2910959
fix main entry file
kmvan Dec 30, 2024
62d9914
update demo url
kmvan Dec 30, 2024
4a36921
fix paste error
kmvan Jan 2, 2025
5a3e5f0
update dist
kmvan Jan 2, 2025
2132acd
1.0.2
kmvan Jan 2, 2025
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
1 change: 0 additions & 1 deletion .dockerignore

This file was deleted.

4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
*.js
demo
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
logs
*.log*
.idea
/lib/
/lib
node_modules
/.vscode/
ts-build/
/.vscode
/.rollup.cache
14 changes: 9 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"jsxSingleQuote": true,
"quoteProps": "as-needed",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"singleQuote": false,
"useTabs": false,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"trailingComma": "none"
"trailingComma": "all",
"useTabs": false
}
18 changes: 18 additions & 0 deletions cleanup.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import fs from 'fs'
import path, { dirname } from 'path'
import { fileURLToPath } from 'url'
const __dirname = dirname(fileURLToPath(import.meta.url))
const deleteDirRecursive = (path) => {
if (fs.existsSync(path)) {
fs.readdirSync(path).forEach((file) => {
const curPath = path.join(path, file)
if (fs.lstatSync(curPath).isDirectory()) {
deleteDirRecursive(curPath)
} else {
fs.unlinkSync(curPath)
}
})
fs.rmdirSync(path)
}
}
deleteDirRecursive(path.join(__dirname, '../lib'))
1 change: 0 additions & 1 deletion cypress.json

This file was deleted.

5 changes: 0 additions & 5 deletions cypress/fixtures/example.json

This file was deleted.

19 changes: 0 additions & 19 deletions cypress/integration/keyboard-commands.ts

This file was deleted.

64 changes: 0 additions & 64 deletions cypress/integration/mentions.ts

This file was deleted.

41 changes: 0 additions & 41 deletions cypress/integration/toolbar.ts

This file was deleted.

8 changes: 0 additions & 8 deletions cypress/plugins/index.js

This file was deleted.

25 changes: 0 additions & 25 deletions cypress/support/commands.js

This file was deleted.

20 changes: 0 additions & 20 deletions cypress/support/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions cypress/tsconfig.json

This file was deleted.

15 changes: 0 additions & 15 deletions cypress/tsconfig.plugins.json

This file was deleted.

23 changes: 0 additions & 23 deletions cypress/webpack.config.js

This file was deleted.

22 changes: 22 additions & 0 deletions demo.vite.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
export default defineConfig({
root: './demo',
plugins: [react()],
build: {
outDir: '../dist',
rollupOptions: {
external: ['react', 'react-dom'],
output: {
globals: {
react: 'React',
'react-dom': 'ReactDOM',
},
},
},
target: 'esnext',
},
server: {
open: true,
},
})
Loading