Skip to content

Commit

Permalink
📖 ReadMe added with solution file
Browse files Browse the repository at this point in the history
  • Loading branch information
Power-Maverick committed Sep 13, 2020
1 parent d30cc94 commit a93c3f2
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 221 deletions.
5 changes: 4 additions & 1 deletion InlineTextInput/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@

# msbuild output directories
/bin
/obj
/obj

# CDS solution file
**/Solutions
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,24 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Control_Display_Name_Key" xml:space="preserve">
<value>Control Name</value>
<data name="HtmlPreview_Display_Key" xml:space="preserve">
<value>HTML Preview Text</value>
</data>
<data name="Control_Description_Key" xml:space="preserve">
<value>Control Description</value>
<data name="HtmlPreview_Desc_Key" xml:space="preserve">
<value>HTML text that needs to be previewed along with slugs</value>
</data>

<data name="ReplacementConfig_Display_Key" xml:space="preserve">
<value>Slugs Replacement Config</value>
</data>
<data name="ReplacementConfig_Desc_Key" xml:space="preserve">
<value>A JSON string that will define which words to find, replace and make then editable</value>
</data>

<data name="fontSize_Display_Key" xml:space="preserve">
<value>Font Size</value>
</data>
<data name="fontSize_Desc_Key" xml:space="preserve">
<value>A default font size that the control should render</value>
</data>
</root>
23 changes: 23 additions & 0 deletions InlineTextInput/README.md
Original file line number Diff line number Diff line change
@@ -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
Binary file not shown.
5 changes: 0 additions & 5 deletions InlineTextInput/Solution/InlineTextInputControl/.gitignore

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

142 changes: 0 additions & 142 deletions InlineTextInput/Solution/InlineTextInputControl/src/Other/Solution.xml

This file was deleted.

Binary file added InlineTextInput/assets/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a93c3f2

Please sign in to comment.