the-airbender / quill_html_editor

HTML rich text editor for Android, iOS, and Web, using the QuillJS library. QuillJS is a free, open source WYSIWYG editor built for the modern web.
https://pub.dev/packages/quill_html_editor
MIT License
94 stars 96 forks source link

Link open inside widget[BUG] #171

Open tekink opened 9 months ago

tekink commented 9 months ago

Describe the bug A clear and concise description of what the bug is. When i click the link, it opens inside of widget. I want to open it device's browser.

Screenshots untitled

Smartphone (please complete the following information):

Flutter Doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.19045.3930], locale tr-TR) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2023.1) [√] VS Code (version 1.85.0) [√] Connected device (4 available) [√] Network resources

Additional context

void htmlWindow({required String html}) {
  QuillEditorController _htmlController = QuillEditorController();
  showDialog(
      context: Get.context!,
      builder: (context) {
        return alertDialog(
          content: SizedBox(
            width: Get.width,
            height: 300,
            child: QuillHtmlEditor(
              text: html,
              controller: _htmlController,
              isEnabled: false,
              minHeight: 300,
              hintTextStyle: TextStyle(color: Colors.black.withOpacity(0.6), fontSize: 14),
              hintTextAlign: TextAlign.start,
              padding: const EdgeInsets.all(4),
              hintTextPadding: const EdgeInsets.all(4),
              backgroundColor: Colors.white,
            ),
          ),
        );
}
besteffay commented 2 months ago

facing the same issue