You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class PostWriteScreen2 extends StatefulWidget {
const PostWriteScreen2({
super.key,
});
@OverRide
State createState() => _PostWriteScreen2State();
}
class _PostWriteScreen2State extends State {
late quill.QuillController _controller;
final FocusNode _editorFocusNode = FocusNode();
final ScrollController _editorScrollController = ScrollController();
final TextEditingController _titleController = TextEditingController();
Uh oh!
There was an error while loading. Please reload this page.
Have you checked for an existing issue?
Flutter Quill Version
11.2.0
Steps to Reproduce
Flutter v 3.29.3
flutter_quill: ^11.2.0
flutter_quill_extensions: ^11.0.0
Samsung Galaxy S25
the reproduction stage
Expected results
#1961
@@@ It's the official example code in GitHub
Actual results
`
import 'dart:convert';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_quill/flutter_quill.dart' as quill;
import 'package:flutter_quill_extensions/flutter_quill_extensions.dart';
import '../widget/appbar.dart';
import '../widget/drawer.dart';
class PostWriteScreen2 extends StatefulWidget {
const PostWriteScreen2({
super.key,
});
@OverRide
State createState() => _PostWriteScreen2State();
}
class _PostWriteScreen2State extends State {
late quill.QuillController _controller;
final FocusNode _editorFocusNode = FocusNode();
final ScrollController _editorScrollController = ScrollController();
final TextEditingController _titleController = TextEditingController();
@OverRide
void initState() {
super.initState();
_controller = quill.QuillController.basic();
_controller.addListener(() {
final deltaJson = _controller.document.toDelta().toJson();
print('✍️ 실시간 에디터 입력값: $deltaJson');
});
}
@OverRide
void dispose() {
_controller.dispose();
_editorScrollController.dispose();
_editorFocusNode.dispose();
_titleController.dispose();
super.dispose();
}
@OverRide
Widget build(BuildContext context) {
}
}
class TimeStampEmbed extends quill.Embeddable {
const TimeStampEmbed(
String value,
) : super(timeStampType, value);
static const String timeStampType = 'timeStamp';
static TimeStampEmbed fromDocument(quill.Document document) =>
TimeStampEmbed(jsonEncode(document.toDelta().toJson()));
quill.Document get document => quill.Document.fromJson(jsonDecode(data));
}
class TimeStampEmbedBuilder extends quill.EmbedBuilder {
@OverRide
String get key => 'timeStamp';
@OverRide
String toPlainText(quill.Embed node) {
return node.value.data;
}
@OverRide

Widget build(
BuildContext context,
quill.EmbedContext embedContext,
) {
return Row(
children: [
const Icon(Icons.access_time_rounded),
Text(embedContext.node.value.data as String),
],
);
}
}
`
M Chrome (Problem)
Before creating a keyboard
After creating a keyboard

Naver (Normal)

Before creating a keyboard
After creating a keyboard

The text was updated successfully, but these errors were encountered: