Skip to content

Commit fa06684

Browse files
committed
DOC-3314: update demo config.
1 parent a4acfb0 commit fa06684

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

modules/ROOT/examples/live-demos/uploadcare-full-feature/example.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ tinymce.init({
2525
fluid: true,
2626
},
2727
a11y_advanced_options: true,
28-
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist| link uploadcare | code preview",
28+
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist| link uploadcare uploadcare-video | code preview",
2929
height: 700,
3030
content_style: `
31-
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }https://fiddle.tiny.cloud/5HPetOu0b2/38#
31+
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }
3232
h1 { font-size: 1.5em; }
33-
h2 { font-size: 1.17em; }
33+
h2 { font-size: 1.17em; }
3434
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 0 0 0.75rem; }
3535
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { margin-top: 2rem; }
3636
p { line-height: 1.6; margin: 0; }
3737
p + p { margin-top: 1rem; }
3838
a { color: #2b70e3; }
3939
blockquote { color: #4e5c73; font-weight: 200; font-size: 1.3rem; margin: 1rem 2rem; padding: 0 0 0 1rem; border-left: 2px solid #2b70e3 !important; }
40-
figcaption {font-size: 0.875em;}
41-
uc-video { display: block; margin: 1rem 0; width: 100%;}
40+
figcaption { font-size: 0.875em; }
41+
uc-video { display: block; margin: 1rem 0; width: 100%; }
4242
`
4343
});

modules/ROOT/examples/live-demos/uploadcare-full-feature/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ tinymce.init({
2626
fluid: true,
2727
},
2828
a11y_advanced_options: true,
29-
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist| link uploadcare | code preview",
29+
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist | link uploadcare uploadcare-video | code preview",
3030
height: 700,
3131
content_style: `
32-
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }https://fiddle.tiny.cloud/5HPetOu0b2/38#
32+
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }
3333
h1 { font-size: 1.5em; }
34-
h2 { font-size: 1.17em; }
34+
h2 { font-size: 1.17em; }
3535
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 0 0 0.75rem; }
3636
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { margin-top: 2rem; }
3737
p { line-height: 1.6; margin: 0; }
3838
p + p { margin-top: 1rem; }
3939
a { color: #2b70e3; }
4040
blockquote { color: #4e5c73; font-weight: 200; font-size: 1.3rem; margin: 1rem 2rem; padding: 0 0 0 1rem; border-left: 2px solid #2b70e3 !important; }
41-
figcaption {font-size: 0.875em;}
42-
uc-video { display: block; margin: 1rem 0; width: 100%;}
41+
figcaption { font-size: 0.875em; }
42+
uc-video { display: block; margin: 1rem 0; width: 100%; }
4343
`
4444
});

modules/ROOT/examples/live-demos/uploadcare-video/example.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ tinymce.init({
1414
fluid: true,
1515
},
1616
a11y_advanced_options: true,
17-
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist| link uploadcare | code preview",
17+
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist | link uploadcare uploadcare-video | code preview",
1818
height: 700,
1919
content_style: `
20-
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }https://fiddle.tiny.cloud/5HPetOu0b2/38#
20+
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }
2121
h1 { font-size: 1.5em; }
22-
h2 { font-size: 1.17em; }
22+
h2 { font-size: 1.17em; }
2323
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 0 0 0.75rem; }
2424
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { margin-top: 2rem; }
2525
p { line-height: 1.6; margin: 0; }
2626
p + p { margin-top: 1rem; }
2727
a { color: #2b70e3; }
2828
blockquote { color: #4e5c73; font-weight: 200; font-size: 1.3rem; margin: 1rem 2rem; padding: 0 0 0 1rem; border-left: 2px solid #2b70e3 !important; }
29-
figcaption {font-size: 0.875em;}
30-
uc-video { display: block; margin: 1rem 0; width: 100%;}
29+
figcaption { font-size: 0.875em; }
30+
uc-video { display: block; margin: 1rem 0; width: 100%; }
3131
`
3232
});

modules/ROOT/examples/live-demos/uploadcare-video/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tinymce.init({
2-
selector: "textarea",
2+
selector: "textarea#uploadcare-video",
33
plugins: [ "uploadcare", "code", "link", "preview", "lists" ],
44
uploadcare_public_key: '630992ad50fe2291c406',
55
uploadcare_cdn_base_url: 'https://tiny.ucarecdn.com',
@@ -15,12 +15,12 @@ tinymce.init({
1515
fluid: true,
1616
},
1717
a11y_advanced_options: true,
18-
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist| link uploadcare | code preview",
18+
toolbar: "undo redo | styles | bold italic underline | forecolor | bullist numlist | link uploadcare uploadcare-video | code preview",
1919
height: 700,
2020
content_style: `
21-
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }https://fiddle.tiny.cloud/5HPetOu0b2/38#
21+
body { max-width: 920px; margin: 1.5rem auto; padding: 0 2vw; }
2222
h1 { font-size: 1.5em; }
23-
h2 { font-size: 1.17em; }
23+
h2 { font-size: 1.17em; }
2424
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 0 0 0.75rem; }
2525
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { margin-top: 2rem; }
2626
p { line-height: 1.6; margin: 0; }

0 commit comments

Comments
 (0)