mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Remove borders around TextEditors for testing
This commit is contained in:
parent
85e99c720c
commit
1c027c98dc
@ -7,7 +7,6 @@ struct PostEditor: View {
|
||||
var body: some View {
|
||||
VStack {
|
||||
TextEditor(text: $post.title)
|
||||
.border(Color.blue, width: 1)
|
||||
.font(.title)
|
||||
.frame(height: 100)
|
||||
.onChange(of: post.title) { _ in
|
||||
@ -16,7 +15,6 @@ struct PostEditor: View {
|
||||
}
|
||||
}
|
||||
TextEditor(text: $post.body)
|
||||
.border(Color.red, width: 1)
|
||||
.font(.body)
|
||||
.onChange(of: post.body) { _ in
|
||||
if post.status == .published {
|
||||
|
Loading…
Reference in New Issue
Block a user