Giter Site home page Giter Site logo

Comments (8)

radoslaw-sz avatar radoslaw-sz commented on May 18, 2024 1

@rish07 it works :) I will check what is wrong my the custom code. Thanks for your help! I am closing the issue at this moment.

from flutter-quill.

singerdmx avatar singerdmx commented on May 18, 2024

@rish07 did work for web

from flutter-quill.

singerdmx avatar singerdmx commented on May 18, 2024

You need change callback function

https://github.com/singerdmx/flutter-quill/blob/master/app/lib/pages/home_page.dart#L153

from flutter-quill.

radoslaw-sz avatar radoslaw-sz commented on May 18, 2024

@singerdmx thank you for so fast response.
To just check if it works, I made hardcoded callback function like this:

  Future<String> _onImagePickCallback(File file) async {
    if (file == null) return null;
    // Copies the picked file from temporary cache to applications directory
    return 'https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg';
  }

The terminal says:

Image uploaded and its url is https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg

But still only blank space..

from flutter-quill.

singerdmx avatar singerdmx commented on May 18, 2024

image

code is here. You probably need to debug what's wrong

from flutter-quill.

radoslaw-sz avatar radoslaw-sz commented on May 18, 2024

Sure, I will check.
I would like only ask to anyone has it working with Flutter 2.0.0 (stable version). Then I will be able to narrow the problem.

from flutter-quill.

singerdmx avatar singerdmx commented on May 18, 2024

You can ask @rish07

from flutter-quill.

rish07 avatar rish07 commented on May 18, 2024

@mordivgor is the app inside the flutter-quill's repo working for you?

from flutter-quill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.