restore the TextEditor
This commit is contained in:
parent
f62a020c82
commit
7fabee1bd1
1 changed files with 4 additions and 4 deletions
|
|
@ -97,14 +97,14 @@
|
||||||
|
|
||||||
<TextBlock Grid.Row="0" Text="Post detail" FontWeight="SemiBold" />
|
<TextBlock Grid.Row="0" Text="Post detail" FontWeight="SemiBold" />
|
||||||
<TextBox Grid.Row="1" Text="{Binding DraftTitle, Mode=TwoWay}" PlaceholderText="Title" />
|
<TextBox Grid.Row="1" Text="{Binding DraftTitle, Mode=TwoWay}" PlaceholderText="Title" />
|
||||||
<TextBox Grid.Row="2" PlaceholderText="Write something here !"
|
<!-- <TextBox Grid.Row="2" PlaceholderText="Write something here !"
|
||||||
Text="{Binding DraftArticle, Mode=TwoWay}"
|
Text="{Binding DraftArticle, Mode=TwoWay}"
|
||||||
MinHeight="320"
|
MinHeight="320"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch">
|
VerticalAlignment="Stretch">
|
||||||
|
|
||||||
</TextBox>
|
</TextBox> -->
|
||||||
<!-- <AvaloniaEdit:TextEditor Grid.Row="2"
|
<AvaloniaEdit:TextEditor Grid.Row="2"
|
||||||
views:TextEditorBinding.Text="{Binding DraftArticle, Mode=TwoWay}"
|
views:TextEditorBinding.Text="{Binding DraftArticle, Mode=TwoWay}"
|
||||||
ShowLineNumbers="True"
|
ShowLineNumbers="True"
|
||||||
FontFamily="Cascadia Code, Consolas, Menlo, Monospace"
|
FontFamily="Cascadia Code, Consolas, Menlo, Monospace"
|
||||||
|
|
@ -112,7 +112,7 @@
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
VerticalScrollBarVisibility="Auto"
|
VerticalScrollBarVisibility="Auto"
|
||||||
HorizontalScrollBarVisibility="Auto" /> -->
|
HorizontalScrollBarVisibility="Auto" />
|
||||||
<TextBlock Grid.Row="3" Text="{Binding StatusMessage}" Foreground="Gray" />
|
<TextBlock Grid.Row="3" Text="{Binding StatusMessage}" Foreground="Gray" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue