Skip to content

Commit

Permalink
DOC-2480: Improve wording on the "replace src/App.svelte contents" step
Browse files Browse the repository at this point in the history
  • Loading branch information
FarzadHayat committed Jul 11, 2024
1 parent e316ffb commit 0f613b2
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions modules/ROOT/partials/integrations/svelte-quick-start.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,7 @@ npm install @tinymce/tinymce-svelte
endif::[]
ifeval::["{productSource}" == "cloud"]

. Open `+src/App.svelte+` and add:
* An `+import+` statement for the {productname} Svelte component.
* The `+<Editor />+` as a placeholder for the editor.
+
For example:
+
_File:_ `+src/App.svelte+`
. Open `+src/App.svelte+` and replace the contents with:
+
[source,html,subs="+macros"]
----
Expand Down Expand Up @@ -109,14 +103,7 @@ export default defineConfig({
],
})
----
. Open `+src/App.svelte+` and add:
* An `+import+` statement for the {productname} Svelte component.
* The `+<Editor />+` as a placeholder for the editor.
* The xref:svelte-ref.adoc#scriptsrc[`+scriptSrc+`] property for the `+Editor+` placeholder.
+
For example:
+
_File:_ `+src/App.svelte+`
. Open `+src/App.svelte+` and replace the contents with:
+
[source,html]
----
Expand Down Expand Up @@ -150,14 +137,7 @@ let conf = {
endif::[]
ifeval::["{productSource}" == "zip"]

. Open `+src/App.svelte+` and add:
* An `+import+` statement for the {productname} Svelte component.
* The `+<Editor />+` as a placeholder for the editor.
* The xref:svelte-ref.adoc#scriptsrc[`+scriptSrc+`] property for the `+Editor+` placeholder.
+
For example:
+
_File:_ `+src/App.svelte+`
. Open `+src/App.svelte+` and replace the contents with:
+
[source,html]
----
Expand Down

0 comments on commit 0f613b2

Please sign in to comment.