Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-02-17 12:43:00 +00:00
commit f3be51cd78

View File

@ -21,11 +21,11 @@ export class PluginFieldMarkdownVditorServer extends Plugin {
}
async copyVditorDist() {
const vditor = path.dirname(require.resolve('vditor'));
const dist = path.resolve(__dirname, '../../dist/client/vditor/dist');
if (await fs.exists(dist)) {
return;
}
const vditor = path.dirname(require.resolve('vditor'));
await fs.copy(vditor, dist);
}