diff --git a/InlineTextInput/.gitignore b/InlineTextInput/.gitignore index cae7da5..6ee7216 100644 --- a/InlineTextInput/.gitignore +++ b/InlineTextInput/.gitignore @@ -11,4 +11,7 @@ # msbuild output directories /bin -/obj \ No newline at end of file +/obj + +# CDS solution file +**/Solutions \ No newline at end of file diff --git a/InlineTextInput/InlineTextInputControl/strings/InlineTextInputControl.1033.resx b/InlineTextInput/InlineTextInputControl/strings/InlineTextInputControl.1033.resx index 67a5585..63b302c 100644 --- a/InlineTextInput/InlineTextInputControl/strings/InlineTextInputControl.1033.resx +++ b/InlineTextInput/InlineTextInputControl/strings/InlineTextInputControl.1033.resx @@ -58,10 +58,24 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Control Name + + HTML Preview Text - - Control Description + + HTML text that needs to be previewed along with slugs + + + + Slugs Replacement Config + + + A JSON string that will define which words to find, replace and make then editable + + + + Font Size + + + A default font size that the control should render \ No newline at end of file diff --git a/InlineTextInput/README.md b/InlineTextInput/README.md new file mode 100644 index 0000000..a7d5a0c --- /dev/null +++ b/InlineTextInput/README.md @@ -0,0 +1,23 @@ +# Inline Text Editor + +[![GitHub Releases](https://img.shields.io/static/v1?label=Download&message=Inline%20Text%20Editor&style=for-the-badge&logo=microsoft&color=brightgreen)](https://github.com/Power-Maverick/PCF-Controls/releases/tag/ITE-v.1.0.0) + +A control that accepts HTML text and renders part of HTML content as editable. When user edits the data it returns the edited version of HTML back to the host. This control is supported on **canvas apps**. + +### Configure the control + +Control has 3 configuration properities which are described below: + +Configuration Property | Description | Required +------------ | ------------- | ------------- +HTML Preview Text | HTML text that needs to be previewed along with slugs. | Yes +Slugs Replacement Config | A JSON string that will define which words to find, replace and make then editable. | Yes +Font Size | A default font size that the control should render. | No + +### Demo + +![Configuration](assets/demo.gif) + +### Demo of the control + +TBD diff --git a/InlineTextInput/Solution/InlineTextInputControl.zip b/InlineTextInput/Solution/InlineTextInputControl.zip new file mode 100644 index 0000000..e326c8e Binary files /dev/null and b/InlineTextInput/Solution/InlineTextInputControl.zip differ diff --git a/InlineTextInput/Solution/InlineTextInputControl/.gitignore b/InlineTextInput/Solution/InlineTextInputControl/.gitignore deleted file mode 100644 index 317e653..0000000 --- a/InlineTextInput/Solution/InlineTextInputControl/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# msbuild output directories -/bin -/obj \ No newline at end of file diff --git a/InlineTextInput/Solution/InlineTextInputControl/InlineTextInputControl.cdsproj b/InlineTextInput/Solution/InlineTextInputControl/InlineTextInputControl.cdsproj deleted file mode 100644 index 457901e..0000000 --- a/InlineTextInput/Solution/InlineTextInputControl/InlineTextInputControl.cdsproj +++ /dev/null @@ -1,49 +0,0 @@ - - - - $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\PowerApps - - - - - - - dd637ae1-d67d-49ca-87e6-c7641fb9d941 - v4.6.2 - - net462 - PackageReference - src - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/InlineTextInput/Solution/InlineTextInputControl/src/Other/Customizations.xml b/InlineTextInput/Solution/InlineTextInputControl/src/Other/Customizations.xml deleted file mode 100644 index 9716685..0000000 --- a/InlineTextInput/Solution/InlineTextInputControl/src/Other/Customizations.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - 1033 - - \ No newline at end of file diff --git a/InlineTextInput/Solution/InlineTextInputControl/src/Other/Relationships.xml b/InlineTextInput/Solution/InlineTextInputControl/src/Other/Relationships.xml deleted file mode 100644 index c22a38e..0000000 --- a/InlineTextInput/Solution/InlineTextInputControl/src/Other/Relationships.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/InlineTextInput/Solution/InlineTextInputControl/src/Other/Solution.xml b/InlineTextInput/Solution/InlineTextInputControl/src/Other/Solution.xml deleted file mode 100644 index 73ce1b3..0000000 --- a/InlineTextInput/Solution/InlineTextInputControl/src/Other/Solution.xml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - InlineTextInputControl - - - - - - 1.0.0 - - 2 - - - powermaverick - - - - - - - - - - - - - - pmav - - 35270 - - -
- 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - -
-
- 2 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - -
-
-
- - -
-
\ No newline at end of file diff --git a/InlineTextInput/assets/demo.gif b/InlineTextInput/assets/demo.gif new file mode 100644 index 0000000..d1d487a Binary files /dev/null and b/InlineTextInput/assets/demo.gif differ