@sealcode/jdd-editor 0.2.16 → 0.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/.nyc_output/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
  2. package/.nyc_output/processinfo/{0553c492-d66d-4588-be20-d4a284e17ff7.json → 75f3e742-9c3d-4937-adad-ed712149983a.json} +1 -1
  3. package/.nyc_output/processinfo/{15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b.json → a331cb1e-8707-469e-95be-5bc65de3f692.json} +1 -1
  4. package/.nyc_output/processinfo/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
  5. package/.nyc_output/processinfo/index.json +1 -1
  6. package/.xunit +1 -1
  7. package/@types/components.sreact.d.ts +1 -1
  8. package/@types/inputs/component-input-markdown.d.ts +6 -0
  9. package/@types/jdd-creator.d.ts +2 -2
  10. package/assets/styles/markdown-editor.css +9 -39
  11. package/coverage/clover.xml +189 -253
  12. package/dist/src/inputs/component-input-markdown.js +49 -0
  13. package/dist/src/inputs/component-input-markdown.js.map +7 -0
  14. package/dist/src/inputs/component-input.js +7 -16
  15. package/dist/src/inputs/component-input.js.map +2 -2
  16. package/package.json +1 -1
  17. package/src/inputs/component-input-markdown.ts +58 -0
  18. package/src/inputs/component-input.ts +7 -17
  19. package/.nyc_output/51efb67f-ce86-4cce-8246-d293600e6ff2.json +0 -1
  20. package/.nyc_output/processinfo/51efb67f-ce86-4cce-8246-d293600e6ff2.json +0 -1
  21. package/@types/controllers/markdown-textarea.stimulus.d.ts +0 -20
  22. package/dist/src/controllers/markdown-textarea.stimulus.js +0 -174
  23. package/dist/src/controllers/markdown-textarea.stimulus.js.map +0 -7
  24. package/src/controllers/markdown-textarea.stimulus.ts +0 -198
  25. /package/.nyc_output/{0553c492-d66d-4588-be20-d4a284e17ff7.json → 75f3e742-9c3d-4937-adad-ed712149983a.json} +0 -0
  26. /package/.nyc_output/{15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b.json → a331cb1e-8707-469e-95be-5bc65de3f692.json} +0 -0
@@ -1 +1 @@
1
- {"parent":null,"pid":1119187,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/mocha","--reporter","xunit","--reporter-option","output=.xunit"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1770320340362,"ppid":1119164,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/0553c492-d66d-4588-be20-d4a284e17ff7.json","externalId":"","uuid":"0553c492-d66d-4588-be20-d4a284e17ff7","files":[]}
1
+ {"parent":null,"pid":1828614,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/mocha","--reporter","xunit","--reporter-option","output=.xunit"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1772131244448,"ppid":1828590,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/75f3e742-9c3d-4937-adad-ed712149983a.json","externalId":"","uuid":"75f3e742-9c3d-4937-adad-ed712149983a","files":[]}
@@ -1 +1 @@
1
- {"parent":"0553c492-d66d-4588-be20-d4a284e17ff7","pid":1119194,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/mocha","--recursive","--timeout=10000","--require","source-map-support/register","lib/src/**/*.test.js"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1770320340584,"ppid":1119187,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b.json","externalId":"","uuid":"15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b","files":[]}
1
+ {"parent":"75f3e742-9c3d-4937-adad-ed712149983a","pid":1828621,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/mocha","--recursive","--timeout=10000","--require","source-map-support/register","lib/src/**/*.test.js"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1772131244679,"ppid":1828614,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/a331cb1e-8707-469e-95be-5bc65de3f692.json","externalId":"","uuid":"a331cb1e-8707-469e-95be-5bc65de3f692","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1828590,"argv":["/home/kuba/.local/share/fnm/node-versions/v21.7.3/installation/bin/node","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/node_modules/.bin/nyc","--reporter","clover","mocha","--reporter","xunit","--reporter-option","output=.xunit"],"execArgv":[],"cwd":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor","time":1772131243546,"ppid":1828579,"coverageFilename":"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/.nyc_output/d5d65fea-85bd-4682-8753-cd95b2fb397a.json","externalId":"","uuid":"d5d65fea-85bd-4682-8753-cd95b2fb397a","files":["/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/component-preview-actions.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/components.sreact.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/code-snippet.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/component-debugger.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/exportable-textarea.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/input-image-preview.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/jdd-table-paste.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/json-editor.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-styles.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/submit-on-input.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/toast.stimulus.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/edit-jdd-field.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/index.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-boolean.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code-with-custom-language.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-color.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-enum.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-image.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-list.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-markdown.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-single-reference.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-structured.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-table.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/print-arg-path.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-creator.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-page.ts","/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/test.test.ts"]}
@@ -1 +1 @@
1
- {"processes":{"0553c492-d66d-4588-be20-d4a284e17ff7":{"parent":null,"children":["15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b"]},"15c7e9a9-1ea9-4c86-8310-45fa6fc6e38b":{"parent":"0553c492-d66d-4588-be20-d4a284e17ff7","children":[]},"51efb67f-ce86-4cce-8246-d293600e6ff2":{"parent":null,"children":[]}},"files":{"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/component-preview-actions.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/components.sreact.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/code-snippet.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/component-debugger.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/exportable-textarea.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/input-image-preview.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/jdd-table-paste.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/json-editor.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/markdown-textarea.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-styles.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/submit-on-input.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/toast.stimulus.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/edit-jdd-field.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/index.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code-with-custom-language.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-color.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-enum.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-image.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-list.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-single-reference.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-structured.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-table.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/print-arg-path.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-creator.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-page.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/test.test.ts":["51efb67f-ce86-4cce-8246-d293600e6ff2"]},"externalIds":{}}
1
+ {"processes":{"75f3e742-9c3d-4937-adad-ed712149983a":{"parent":null,"children":["a331cb1e-8707-469e-95be-5bc65de3f692"]},"a331cb1e-8707-469e-95be-5bc65de3f692":{"parent":"75f3e742-9c3d-4937-adad-ed712149983a","children":[]},"d5d65fea-85bd-4682-8753-cd95b2fb397a":{"parent":null,"children":[]}},"files":{"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/component-preview-actions.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/components.sreact.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/code-snippet.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/component-debugger.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/exportable-textarea.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/input-image-preview.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/jdd-table-paste.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/json-editor.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-styles.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/submit-on-input.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/toast.stimulus.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/edit-jdd-field.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/index.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-boolean.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code-with-custom-language.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-color.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-enum.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-image.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-list.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-markdown.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-single-reference.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-structured.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-table.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/print-arg-path.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-creator.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-page.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"],"/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/test.test.ts":["d5d65fea-85bd-4682-8753-cd95b2fb397a"]},"externalIds":{}}
package/.xunit CHANGED
@@ -1,2 +1,2 @@
1
- <testsuite name="Mocha Tests" tests="0" failures="0" errors="0" skipped="0" timestamp="Thu, 05 Feb 2026 19:39:00 GMT" time="0">
1
+ <testsuite name="Mocha Tests" tests="0" failures="0" errors="0" skipped="0" timestamp="Thu, 26 Feb 2026 18:40:44 GMT" time="0">
2
2
  </testsuite>
@@ -5,7 +5,7 @@ import type { JDDPageState } from "./jdd-page.js";
5
5
  import JDDPage from "./jdd-page.js";
6
6
  export declare class JDDDebugger extends JDDPage {
7
7
  renderParameterButtons(state: JDDPageState): Stringifiable;
8
- actions: Record<string, import("@sealcode/sealgen").StatefulPageAction<JDDPageState>>;
8
+ actions: Record<string, import("../../sealgen/@types/index.js").StatefulPageAction<JDDPageState>>;
9
9
  getInitialState(ctx: Context): Promise<{
10
10
  components: never[];
11
11
  }>;
@@ -0,0 +1,6 @@
1
+ import { Component } from "@sealcode/jdd";
2
+ export default function ComponentInputMarkdown({ arg_path, value, component, }: {
3
+ arg_path: string[];
4
+ value: unknown;
5
+ component: Component;
6
+ }): string;
@@ -3,7 +3,7 @@ import type { JDDPageState } from "./jdd-page.js";
3
3
  import JDDPage from "./jdd-page.js";
4
4
  import { Stringifiable } from "tempstream/@types/stringify.js";
5
5
  export default abstract class JDDCreator extends JDDPage {
6
- actions: Record<string, import("@sealcode/sealgen").StatefulPageAction<JDDPageState>>;
6
+ actions: Record<string, import("../../sealgen/@types/index.js").StatefulPageAction<JDDPageState>>;
7
7
  /**
8
8
  * This method returns list of components allowed in JDD Editor instance.
9
9
  * If list is empty it will allow all of the components in registry,
@@ -11,7 +11,7 @@ export default abstract class JDDCreator extends JDDPage {
11
11
  * available.
12
12
  */
13
13
  getAllowedComponents(): string[];
14
- getRegistryComponents(): Record<string, import("@sealcode/jdd").Component<Record<string, import("@sealcode/jdd").ComponentArgument<unknown, unknown, unknown>>>>;
14
+ getRegistryComponents(): Record<string, import("../../jdd/@types/component.js").Component<Record<string, import("../../jdd/@types/index.js").ComponentArgument<unknown, unknown, unknown>>>>;
15
15
  renderParameterButtons(state: JDDPageState): string;
16
16
  renderComponentBlock(ctx: Context, state: JDDPageState, component_data: {
17
17
  component_name: string;
@@ -1,42 +1,12 @@
1
- .editor-toolbar {
2
- display: flex;
3
- flex-flow: row wrap;
4
- }
5
-
6
- .grow-wrap {
7
- display: block !important; /* the default grid display value makes it have some unwanted vertical space*/
8
- width: 100%;
9
- }
10
-
11
- .CodeMirror,
12
- .CodeMirror-scroll {
13
- min-height: 100px !important;
14
- }
15
-
16
- @keyframes cm-fullscreen {
17
- from {
18
- transform: scale(0);
19
- }
20
-
21
- to {
22
- transform: (scale1);
23
- }
24
- }
25
-
26
- .CodeMirror-fullscreen {
27
- animation: cm-fullscreen 200ms;
28
- }
1
+ .monaco-wrapper--markdown {
2
+ .toolbar {
3
+ display: flex;
4
+ gap: 4px;
5
+ margin-bottom: 4px;
6
+ margin-top: 4px;
29
7
 
30
- @keyframes cm-toolbar-fullscreen {
31
- from {
32
- transform: translateY(-40px);
8
+ button {
9
+ min-width: 32px;
10
+ }
33
11
  }
34
-
35
- to {
36
- transform: translateY(0px);
37
- }
38
- }
39
-
40
- .editor-toolbar.fullscreen {
41
- animation: cm-toolbar-fullscreen 200ms;
42
12
  }