@sealcode/jdd-editor 0.2.15 → 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.
- package/.nyc_output/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
- package/.nyc_output/processinfo/75f3e742-9c3d-4937-adad-ed712149983a.json +1 -0
- package/.nyc_output/processinfo/a331cb1e-8707-469e-95be-5bc65de3f692.json +1 -0
- package/.nyc_output/processinfo/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/.xunit +1 -1
- package/@types/controllers/code-snippet.stimulus.d.ts +6 -0
- package/@types/controllers/json-editor.stimulus.d.ts +0 -1
- package/@types/inputs/component-input-code-with-custom-language.d.ts +7 -0
- package/@types/inputs/component-input-code.d.ts +3 -1
- package/@types/inputs/component-input-list.d.ts +3 -2
- package/@types/inputs/component-input-markdown.d.ts +6 -0
- package/@types/inputs/component-input-structured.d.ts +3 -2
- package/@types/inputs/component-input-table.d.ts +3 -2
- package/@types/inputs/component-input.d.ts +3 -2
- package/assets/styles/components.jdd-page.css +4 -2
- package/assets/styles/markdown-editor.css +9 -39
- package/coverage/clover.xml +141 -202
- package/dist/src/controllers/code-snippet.stimulus.js +12 -0
- package/dist/src/controllers/code-snippet.stimulus.js.map +7 -0
- package/dist/src/controllers/exportable-textarea.stimulus.js +0 -1
- package/dist/src/controllers/exportable-textarea.stimulus.js.map +2 -2
- package/dist/src/controllers/json-editor.stimulus.js +0 -3
- package/dist/src/controllers/json-editor.stimulus.js.map +2 -2
- package/dist/src/inputs/component-input-code-with-custom-language.js +41 -0
- package/dist/src/inputs/component-input-code-with-custom-language.js.map +7 -0
- package/dist/src/inputs/component-input-code.js +22 -11
- package/dist/src/inputs/component-input-code.js.map +2 -2
- package/dist/src/inputs/component-input-list.js +3 -1
- package/dist/src/inputs/component-input-list.js.map +2 -2
- package/dist/src/inputs/component-input-markdown.js +49 -0
- package/dist/src/inputs/component-input-markdown.js.map +7 -0
- package/dist/src/inputs/component-input-structured.js +2 -0
- package/dist/src/inputs/component-input-structured.js.map +2 -2
- package/dist/src/inputs/component-input-table.js +6 -3
- package/dist/src/inputs/component-input-table.js.map +2 -2
- package/dist/src/inputs/component-input.js +28 -21
- package/dist/src/inputs/component-input.js.map +2 -2
- package/dist/src/jdd-page.js +2 -1
- package/dist/src/jdd-page.js.map +2 -2
- package/package.json +2 -2
- package/src/controllers/code-snippet.stimulus.ts +12 -0
- package/src/controllers/exportable-textarea.stimulus.ts +0 -1
- package/src/controllers/json-editor.stimulus.ts +0 -4
- package/src/inputs/component-input-code-with-custom-language.ts +44 -0
- package/src/inputs/component-input-code.ts +23 -10
- package/src/inputs/component-input-list.ts +9 -1
- package/src/inputs/component-input-markdown.ts +58 -0
- package/src/inputs/component-input-structured.ts +4 -0
- package/src/inputs/component-input-table.ts +5 -1
- package/src/inputs/component-input.ts +38 -18
- package/src/jdd-page.ts +1 -0
- package/.nyc_output/b318e449-cc0d-49b3-8647-15d9173f5905.json +0 -1
- package/.nyc_output/processinfo/65a49023-1c6a-4217-ab3e-89a09cde8bfc.json +0 -1
- package/.nyc_output/processinfo/b318e449-cc0d-49b3-8647-15d9173f5905.json +0 -1
- package/.nyc_output/processinfo/be222db4-3db9-4c08-a4b5-58673c1c7c29.json +0 -1
- package/@types/controllers/markdown-textarea.stimulus.d.ts +0 -20
- package/dist/src/controllers/markdown-textarea.stimulus.js +0 -174
- package/dist/src/controllers/markdown-textarea.stimulus.js.map +0 -7
- package/src/controllers/markdown-textarea.stimulus.ts +0 -198
- /package/.nyc_output/{65a49023-1c6a-4217-ab3e-89a09cde8bfc.json → 75f3e742-9c3d-4937-adad-ed712149983a.json} +0 -0
- /package/.nyc_output/{be222db4-3db9-4c08-a4b5-58673c1c7c29.json → a331cb1e-8707-469e-95be-5bc65de3f692.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
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":[]}
|
|
@@ -0,0 +1 @@
|
|
|
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":{"
|
|
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="
|
|
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>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { Component } from "@sealcode/jdd";
|
|
2
|
+
export declare function ComponentInputCode({ language, value, arg_path, component, }: {
|
|
2
3
|
value: string;
|
|
3
4
|
language: string;
|
|
4
5
|
arg_path: string[];
|
|
6
|
+
component: Component;
|
|
5
7
|
}): JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Context } from "koa";
|
|
2
|
-
import type { ComponentArgument, JDDContext, List } from "@sealcode/jdd";
|
|
2
|
+
import type { Component, ComponentArgument, JDDContext, List } from "@sealcode/jdd";
|
|
3
3
|
import type { JDDPageState } from "../jdd-page.js";
|
|
4
4
|
import type { StatefulPage } from "@sealcode/sealgen";
|
|
5
5
|
import type { ComponentPreviewActions } from "../component-preview-actions.js";
|
|
6
|
-
export declare function ComponentInputList<State extends JDDPageState, T extends ComponentArgument<unknown>>({ state, ctx, arg_path, arg, value, page, makeJDDContext, ...rest }: {
|
|
6
|
+
export declare function ComponentInputList<State extends JDDPageState, T extends ComponentArgument<unknown>>({ state, ctx, arg_path, arg, value, page, makeJDDContext, component, ...rest }: {
|
|
7
7
|
state: State;
|
|
8
8
|
ctx: Context;
|
|
9
9
|
arg_path: string[];
|
|
@@ -12,4 +12,5 @@ export declare function ComponentInputList<State extends JDDPageState, T extends
|
|
|
12
12
|
page: StatefulPage<JDDPageState, typeof ComponentPreviewActions>;
|
|
13
13
|
makeJDDContext: (ctx: Context) => JDDContext;
|
|
14
14
|
makeAssetURL: (asset: string) => string;
|
|
15
|
+
component: Component;
|
|
15
16
|
}): Promise<string>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Context } from "koa";
|
|
2
|
-
import { Structured, type ComponentArgument, type JDDContext, type NestedComponent } from "@sealcode/jdd";
|
|
2
|
+
import { Component, Structured, type ComponentArgument, type JDDContext, type NestedComponent } from "@sealcode/jdd";
|
|
3
3
|
import type { StatefulPage } from "@sealcode/sealgen";
|
|
4
4
|
import type { JDDPageState } from "../jdd-page.js";
|
|
5
5
|
import type { ComponentPreviewActions } from "../component-preview-actions.js";
|
|
6
|
-
export declare function ComponentInputStructured<T extends Structured<Record<string, ComponentArgument<unknown>>> | NestedComponent>({ state, ctx, arg_path, arg, value, page, makeJDDContext, ...rest }: {
|
|
6
|
+
export declare function ComponentInputStructured<T extends Structured<Record<string, ComponentArgument<unknown>>> | NestedComponent>({ state, ctx, arg_path, arg, value, page, makeJDDContext, component, ...rest }: {
|
|
7
7
|
state: JDDPageState;
|
|
8
8
|
ctx: Context;
|
|
9
9
|
arg_path: string[];
|
|
@@ -12,4 +12,5 @@ export declare function ComponentInputStructured<T extends Structured<Record<str
|
|
|
12
12
|
page: StatefulPage<JDDPageState, typeof ComponentPreviewActions>;
|
|
13
13
|
makeJDDContext: (ctx: Context) => JDDContext;
|
|
14
14
|
makeAssetURL: (asset: string) => string;
|
|
15
|
+
component: Component;
|
|
15
16
|
}): Promise<string>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { JDDContext, Table, TableData } from "@sealcode/jdd";
|
|
1
|
+
import type { Component, JDDContext, Table, TableData } from "@sealcode/jdd";
|
|
2
2
|
import type { StatefulPage } from "@sealcode/sealgen";
|
|
3
3
|
import type { Context } from "koa";
|
|
4
4
|
import type { ComponentPreviewActions } from "../component-preview-actions.js";
|
|
5
5
|
import type { JDDPageState } from "../jdd-page.js";
|
|
6
|
-
export declare function ComponentInputTable<State extends JDDPageState, CellType, HeaderType>({ state, arg_path, ctx, arg, value, page, makeJDDContext, makeAssetURL, }: {
|
|
6
|
+
export declare function ComponentInputTable<State extends JDDPageState, CellType, HeaderType>({ state, arg_path, ctx, arg, value, page, makeJDDContext, makeAssetURL, component, }: {
|
|
7
7
|
state: State;
|
|
8
8
|
ctx: Context;
|
|
9
9
|
arg_path: string[];
|
|
@@ -12,4 +12,5 @@ export declare function ComponentInputTable<State extends JDDPageState, CellType
|
|
|
12
12
|
page: StatefulPage<JDDPageState, typeof ComponentPreviewActions>;
|
|
13
13
|
makeJDDContext: (ctx: Context) => JDDContext;
|
|
14
14
|
makeAssetURL: (asset: string) => string;
|
|
15
|
+
component: Component;
|
|
15
16
|
}): Promise<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ComponentArgument, JDDContext } from "@sealcode/jdd";
|
|
1
|
+
import type { Component, ComponentArgument, JDDContext } from "@sealcode/jdd";
|
|
2
2
|
import type { StatefulPage } from "@sealcode/sealgen";
|
|
3
3
|
import type { Context } from "koa";
|
|
4
4
|
import type { ComponentPreviewActions } from "../component-preview-actions.js";
|
|
5
5
|
import type { JDDPageState } from "../jdd-page.js";
|
|
6
6
|
export declare const actionName = "Components";
|
|
7
|
-
export declare function ComponentInput<State extends JDDPageState, T>({ ctx, state, arg_path, arg, value, page, makeJDDContext, makeAssetURL, }: {
|
|
7
|
+
export declare function ComponentInput<State extends JDDPageState, T>({ ctx, state, arg_path, arg, value, page, makeJDDContext, makeAssetURL, component, }: {
|
|
8
8
|
state: State;
|
|
9
9
|
ctx: Context;
|
|
10
10
|
arg_path: string[];
|
|
@@ -13,4 +13,5 @@ export declare function ComponentInput<State extends JDDPageState, T>({ ctx, sta
|
|
|
13
13
|
page: StatefulPage<JDDPageState, typeof ComponentPreviewActions>;
|
|
14
14
|
makeJDDContext: (ctx: Context) => JDDContext;
|
|
15
15
|
makeAssetURL: (asset: string) => string;
|
|
16
|
+
component: Component;
|
|
16
17
|
}): Promise<string>;
|
|
@@ -228,14 +228,16 @@ body.jdd-editor {
|
|
|
228
228
|
|
|
229
229
|
label {
|
|
230
230
|
display: flex;
|
|
231
|
-
flex-flow:
|
|
232
|
-
gap: 8px;
|
|
231
|
+
flex-flow: column;
|
|
233
232
|
}
|
|
234
233
|
|
|
235
234
|
fieldset {
|
|
236
235
|
background-color: #80808024;
|
|
237
236
|
min-inline-size: 0;
|
|
238
237
|
width: calc(100% - 30px);
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-flow: column;
|
|
240
|
+
row-gap: 8px;
|
|
239
241
|
|
|
240
242
|
& > div {
|
|
241
243
|
overflow-x: auto;
|
|
@@ -1,42 +1,12 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
}
|