Browse Source

DOC-1532: Further liquid fixes for the blazor integration docs

pull/2248/head
Lee Newson 3 years ago
committed by Mike Chau
parent
commit
82ef08a956
  1. 3
      modules/ROOT/pages/blazor-cloud.adoc
  2. 3
      modules/ROOT/pages/blazor-pm.adoc
  3. 1
      modules/ROOT/pages/blazor-ref.adoc
  4. 3
      modules/ROOT/pages/blazor-zip.adoc
  5. 6
      modules/ROOT/partials/integrations/blazor-postinstall.adoc
  6. 22
      modules/ROOT/partials/integrations/blazor-quick-start.adoc
  7. 6
      modules/ROOT/partials/integrations/blazor-tech-ref.adoc

3
modules/ROOT/pages/blazor-cloud.adoc

@ -1,11 +1,8 @@
= Using TinyMCE from the Tiny Cloud CDN with the Blazor framework
:description: A guide on integrating TinyMCE from the Tiny Cloud into the Blazor framework.
:title_nav: Blazor
:keywords: integration integrate blazor blazorapp
:productSource: cloud
include::partial$integrations/blazor-quick-start.adoc[]

3
modules/ROOT/pages/blazor-pm.adoc

@ -1,11 +1,8 @@
= Using the TinyMCE package with the Blazor framework
:title_nav: Using a package manager
:description: A guide on integrating the TinyMCE package into the Blazor framework.
:keywords: integration integrate blazor blazorapp
:productSource: package-manager
include::partial$integrations/blazor-quick-start.adoc[]

1
modules/ROOT/pages/blazor-ref.adoc

@ -1,7 +1,6 @@
= TinyMCE Blazor integration technical reference
:title_nav: Technical reference
:description: Technical reference for the TinyMCE Blazor integration
:keywords: integration integrate blazor blazorapp

3
modules/ROOT/pages/blazor-zip.adoc

@ -1,11 +1,8 @@
= Using the TinyMCE .zip package with the Blazor framework
:title_nav: Using a .zip package
:description: A guide on integrating a .zip version of TinyMCE into the Blazor framework.
:keywords: integration integrate blazor blazorapp
:productSource: zip
include::partial$integrations/blazor-quick-start.adoc[]

6
modules/ROOT/partials/integrations/blazor-postinstall.adoc

@ -1,4 +1,3 @@
[arabic]
. Verify the installation by checking the `+ItemGroup+` references in `+BlazorApp.csproj+`, such as:
+
_File:_ `+BlazorApp.csproj+`
@ -45,9 +44,8 @@ Welcome to your new app.
<Editor />
----
\{% if productSource != "cloud" %}
ifeval::["{productSource}" != "cloud"]
[arabic]
. To load {productname} from the self-hosted package instead of the {cloudname}, configure the `+ScriptSrc+` property:
+
[source,cs]
@ -57,4 +55,4 @@ Welcome to your new app.
/>
----
\{% endif %}
endif::[]

22
modules/ROOT/partials/integrations/blazor-quick-start.adoc

@ -2,9 +2,10 @@ The https://github.com/tinymce/tinymce-blazor[Official {productname} Blazor comp
Select from the following guides:
* <<usingvisualstudio, Using Visual Studio>>
* <<usingacommandpromptorterminal, Using a command prompt or terminal>>
* xref:usingvisualstudio[Using Visual Studio]
* xref:usingacommandpromptorterminal[Using a command prompt or terminal]
[[usingvisualstudio]]
== Using Visual Studio
=== Prerequisites
@ -26,22 +27,21 @@ This procedure requires:
Install-Package TinyMCE.Blazor
----
\{% if productSource == "package-manager" %}
ifeval::["{productSource}" == "package-manager"]
[arabic]
. Use the NuGet package manager console to install the `+{productname}+` package, such as:
. Use the NuGet package manager console to install the `{productname}` package, such as:
+
[source,sh]
----
Install-Package TinyMCE
----
\{% endif %}
endif::[]
include::partial$integrations/blazor-postinstall.adoc[]
[arabic]
. To test the application, run the application by pressing *Ctrl+F5*.
[[usingacommandpromptorterminal]]
== Using a command prompt or terminal
=== Prerequisites
@ -72,20 +72,18 @@ cd BlazorApp
dotnet add package TinyMCE.Blazor
----
\{% if productSource == "package-manager" %}
ifeval::["{productSource}" == "package-manager"]
[arabic]
. Install the `+{productname}+` package, such as:
. Install the `{productname}` package, such as:
+
[source,sh]
----
dotnet add package TinyMCE
----
\{% endif %}
endif::[]
include::partial$integrations/blazor-postinstall.adoc[]
[arabic]
. Test the application using the .NET development server.
* To start the development server, in the project's root directory, run:
+

6
modules/ROOT/partials/integrations/blazor-tech-ref.adoc

@ -1,8 +1,9 @@
Covered in this section:
* <<configuringthetinymceblazorintegration, Configuring the TinyMCE Blazor integration>>
* <<componentbinding, Component binding>>
* xref:configuringthetinymceblazorintegration[Configuring the TinyMCE Blazor integration]
* xref:componentbinding[Component binding]
[[configuringthetinymceblazorintegration]]
== Configuring the TinyMCE Blazor integration
The `+TinyMCE.Blazor+` `+Editor+` component accepts the following properties:
@ -203,6 +204,7 @@ Type : Dictionary<string, object>
}
----
[[componentbinding]]
== Component binding
=== Input binding

Loading…
Cancel
Save