Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix paste text mess up style and Add support copy/cut block text. #1321

Merged
merged 2 commits into from
Jul 22, 2023

Conversation

TheHeBoy
Copy link
Contributor

  • Fix paste text mess up style
  • Add support copy/cut block text.

Demo:

2023-07-22.10-16-38.mp4

Issue:#1313

2. Add support copy/cut block text.
@singerdmx
Copy link
Owner

info • The import of '../../models/documents/document.dart' is unnecessary because all of the used elements are also provided by the import of '../../../flutter_quill.dart' • lib/src/widgets/raw_editor/raw_editor_state_selection_delegate_mixin.dart:7:8 • unnecessary_import
info • The import of '../../models/documents/nodes/embeddable.dart' is unnecessary because all of the used elements are also provided by the import of '../../../flutter_quill.dart' • lib/src/widgets/raw_editor/raw_editor_state_selection_delegate_mixin.dart:8:8 • unnecessary_import
info • The import of '../../models/documents/nodes/leaf.dart' is unnecessary because all of the used elements are also provided by the import of '../../../flutter_quill.dart' • lib/src/widgets/raw_editor/raw_editor_state_selection_delegate_mixin.dart:9:8 • unnecessary_import
info • The import of '../editor.dart' is unnecessary because all of the used elements are also provided by the import of '../../../flutter_quill.dart' • lib/src/widgets/raw_editor/raw_editor_state_selection_delegate_mixin.dart:11:8 • unnecessary_import

@singerdmx
Copy link
Owner

Please don't use '../../../flutter_quill.dart'

@@ -3,6 +3,7 @@ import 'dart:math' as math;
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';

import '../../../flutter_quill.dart';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use '../../../flutter_quill.dart'

@singerdmx singerdmx merged commit 8aca482 into singerdmx:master Jul 22, 2023
1 check passed
@TheHeBoy
Copy link
Contributor Author

I have a question: If I paste to a line with the style, apply the original style or style of paste position?

@singerdmx
Copy link
Owner

Try it in word and we should be the same

@TheHeBoy
Copy link
Contributor Author

Ok, I will again pr resolve this question.

@TheHeBoy TheHeBoy deleted the 1.0.0.1 branch July 22, 2023 06:27
@TheHeBoy
Copy link
Contributor Author

Do I need to update changeLog about this bug?

@singerdmx
Copy link
Owner

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants