|
@@ -161,9 +161,7 @@ class _FullPageEditorScreenState extends State<FullPageEditorScreen> {
|
161
|
161
|
// ),
|
162
|
162
|
Expanded(
|
163
|
163
|
child: ZefyrScaffold(
|
164
|
|
- child: ZefyrTheme(
|
165
|
|
- data: ZefyrThemeData(),
|
166
|
|
- child: ZefyrEditor(
|
|
164
|
+ child: ZefyrEditor(
|
167
|
165
|
autofocus: false,
|
168
|
166
|
controller: _controller,
|
169
|
167
|
focusNode: _focusNode,
|
|
@@ -176,7 +174,6 @@ class _FullPageEditorScreenState extends State<FullPageEditorScreen> {
|
176
|
174
|
print(_controller.document.toJson());
|
177
|
175
|
},
|
178
|
176
|
),
|
179
|
|
- ),
|
180
|
177
|
),
|
181
|
178
|
),
|
182
|
179
|
],
|
|
@@ -188,7 +185,7 @@ class _FullPageEditorScreenState extends State<FullPageEditorScreen> {
|
188
|
185
|
return GestureDetector(
|
189
|
186
|
behavior: HitTestBehavior.translucent,
|
190
|
187
|
onTap: () {
|
191
|
|
- FocusScope.of(context).unfocus();
|
|
188
|
+ primaryFocus.unfocus();
|
192
|
189
|
},
|
193
|
190
|
child: Theme(
|
194
|
191
|
data: ThemeData(primarySwatch: Colors.cyan),
|