File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
src/LinkDotNet.Blog.Web/Features
tests/LinkDotNet.Blog.UnitTests/Web/Features/Components Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 19
19
</div >
20
20
<div class =" mb-3" >
21
21
<label for =" talk-content" >Description</label >
22
- <InputTextArea id =" talk-content" class =" form-control" Rows =" 10"
23
- @bind-Value =" @model.Description" ></InputTextArea >
22
+ <TextAreaWithShortcuts id =" talk-content" class =" form-control" Rows =" 10"
23
+ @bind-Value =" @model.Description" ></TextAreaWithShortcuts >
24
24
<small for =" talk-content" class =" form-text text-muted" >You can use markdown to style your component.</small >
25
25
</div >
26
26
<button id =" talk-submit" class =" btn btn-primary" type =" submit" >Submit</button >
48
48
model = new AddTalkEntryModel ();
49
49
Dialog .Close ();
50
50
}
51
- }
51
+ }
Original file line number Diff line number Diff line change 1
- namespace LinkDotNet . Blog . Web . Features . Admin . BlogPostEditor . Components ;
1
+ namespace LinkDotNet . Blog . Web . Features . Components ;
2
2
3
3
public sealed class SelectionRange
4
4
{
5
5
public int Start { get ; set ; }
6
6
7
7
public int End { get ; set ; }
8
- }
8
+ }
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
using System . Linq ;
2
- using LinkDotNet . Blog . Web . Features . Admin . BlogPostEditor . Components ;
2
+ using LinkDotNet . Blog . Web . Features . Components ;
3
3
4
- namespace LinkDotNet . Blog . UnitTests . Web . Features . Admin . BlogPostEditor . Components ;
4
+ namespace LinkDotNet . Blog . UnitTests . Web . Features . Components ;
5
5
6
6
public class TextAreaWithShortcutsTests : TestContext
7
7
{
@@ -51,4 +51,4 @@ public void ShouldSetCursorPosition()
51
51
setSelection . Arguments . Should ( ) . Contain ( 9 ) ;
52
52
setSelection . Arguments . Should ( ) . Contain ( "**llo**" ) ;
53
53
}
54
- }
54
+ }
You can’t perform that action at this time.
0 commit comments