Browse Source

Apply suggestions from code review

pull/3753/head
Karl Kemister-Sheppard 1 week ago
committed by GitHub
parent
commit
7179b2c096
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      modules/ROOT/partials/integrations/jquery-quick-start.adoc
  2. 6
      modules/ROOT/partials/integrations/react-quick-start.adoc
  3. 2
      modules/ROOT/partials/integrations/svelte-quick-start.adoc
  4. 4
      modules/ROOT/partials/integrations/vue-quick-start.adoc

4
modules/ROOT/partials/integrations/jquery-quick-start.adoc

@ -119,7 +119,7 @@ ifeval::["{productSource}" == "package-manager"]
<script>
$('textarea#tiny').tinymce({
height: 500,
license_key: 'gpl' // gpl for open source, T8LK:... for commercial
license_key: 'gpl'
/* other settings... */,
});
</script>
@ -149,7 +149,7 @@ ifeval::["{productSource}" == "package-manager"]
<script>
$('textarea#tiny').tinymce({
height: 500,
license_key: 'gpl' // gpl for open source, T8LK:... for commercial
license_key: 'gpl'
menubar: false,
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',

6
modules/ROOT/partials/integrations/react-quick-start.adoc

@ -149,7 +149,7 @@ export default function App() {
<>
<Editor
tinymceScriptSrc='/tinymce/tinymce.min.js'
licenseKey='gpl' // gpl for open source, T8LK:... for commercial
licenseKey='gpl'
onInit={(_evt, editor) => editorRef.current = editor}
initialValue='<p>This is the initial content of the editor.</p>'
init={{
@ -243,7 +243,7 @@ import 'tinymce/skins/ui/oxide/content';
export default function BundledEditor(props) {
return (
<Editor
licenseKey='gpl' // gpl for open source, T8LK:... for commercial
licenseKey='gpl'
{...props}
/>
);
@ -358,7 +358,7 @@ export default function App() {
<>
<Editor
tinymceScriptSrc='/tinymce/tinymce.min.js'
licenseKey='gpl' // gpl for open source, T8LK:... for commercial
licenseKey='gpl'
onInit={(_evt, editor) => editorRef.current = editor}
initialValue='<p>This is the initial content of the editor.</p>'
init={{

2
modules/ROOT/partials/integrations/svelte-quick-start.adoc

@ -175,7 +175,7 @@ let conf = {
<main>
<h1>Hello Tiny</h1>
<Editor
license_key: 'gpl', // gpl for open source, T8LK:... for commercial
license_key: 'gpl',
scriptSrc='/path/or/url/to/tinymce.min.js'
value='<p>This is the initial content of the editor.</p>'
{conf}

4
modules/ROOT/partials/integrations/vue-quick-start.adoc

@ -167,7 +167,7 @@ import Editor from '@tinymce/tinymce-vue'
<img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
<editor
id="uuid"
licenseKey="gpl" /* gpl for open source, T8LK:... for commercial */
licenseKey="gpl"
:init="{
plugins: 'advlist anchor autolink charmap code fullscreen help image insertdatetime link lists media preview searchreplace table visualblocks wordcount',
toolbar: 'undo redo | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
@ -213,7 +213,7 @@ import Editor from '@tinymce/tinymce-vue'
<img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
<editor
id="uuid"
licenseKey="gpl" /* gpl for open source, T8LK:... for commercial */
licenseKey="gpl"
:init="{
plugins: 'advlist anchor autolink charmap code fullscreen help image insertdatetime link lists media preview searchreplace table visualblocks wordcount',
toolbar: 'undo redo | styles | bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',

Loading…
Cancel
Save