feat(core): add actions to editor settings (#8030)

# What Changed?
- Add actions of following edgeless-elements editor settings:
  - note
  - connector
  - edgeless text
  - pen
This commit is contained in:
akumatus
2024-09-02 14:23:04 +00:00
parent e1310b65cd
commit 2e37ee0e33
14 changed files with 619 additions and 353 deletions

View File

@@ -1,19 +0,0 @@
import { expect, test } from 'vitest';
import { unflattenObject } from '../unflatten-object';
test('unflattenObject', () => {
const ob = {
'a.b.c': 1,
d: 2,
};
const result = unflattenObject(ob);
expect(result).toEqual({
a: {
b: {
c: 1,
},
},
d: 2,
});
});