Comments (14)
from rich_editor.
from rich_editor.
from rich_editor.
ok, so who are going to port this library to Flutter? what's your plan?
from rich_editor.
Right now i have to chicken out. Just no bandwidth.
I used y.js witha web / javascript client on an old project and it worked really well with quill.
This is why i brouht it up.
here is another one btw:
https://github.com/ipfs-shipyard/peerpad/blob/master/docs/ARCHITECTURE.md
from rich_editor.
Hey again,
I have been doing some research on this and have a MUCH better approach now.
There is a library called automerge.
It is able to take json and keep it in sync between multiple instances on different devices. It's based on CRDT and works very well.
The maintainers are talking about making a port to Dart, but it's not started yet. It should be a reasonable easy port.
So the only thing then that matters is how you serialise the HTML widget to JSON. I suspect you won't need to do anything special but I am not sure yet until I do more testing.
from rich_editor.
In your code I don't see any code that serialises the contents of the widget....
You never got to the functionality of saving and loading content to and from json ?
from rich_editor.
hi!
No I don't do that for now. The thing here is that I don't really want to use and html conversion approach. I'm still thinking on this. Anyways this lib is old and I didn't have time to maintain it. I think that I would need to take a different approach on building this too.
from rich_editor.
appreciate your comments.
Yours is the only one i have found, and if you can illustrate how you would rewrite it then maybe me or someone will do it.
Is that ok ?
from rich_editor.
from rich_editor.
from rich_editor.
not at all
from rich_editor.
from rich_editor.
compiler message: file:///Users/shenma/Documents/Flutter/projects/rich_editor/rich_editor/lib/src/material/dropdown.dart:267:7: Error: The non-abstract class '_DropdownRoute' is missing implementations for these members:
compiler message: 'barrierLabel'.
compiler message: Try to either
compiler message: - provide an implementation,
compiler message: - inherit an implementation from a superclass or mixin,
compiler message: - mark the class as abstract, or
compiler message: - provide a 'noSuchMethod' implementation.
compiler message:
compiler message: class _DropdownRoute extends PopupRoute<_DropdownRouteResult> {
compiler message: ^^^^^^^^^^^^^^
compiler message: file:///Users/shenma/Documents/Flutter/flutter/packages/flutter/lib/src/widgets/routes.dart:831:14: Context: 'barrierLabel' is defined here.
compiler message: String get barrierLabel;
compiler message: ^^^^^^^^^^^^
compiler message: file:///Users/shenma/.pub-cache/hosted/pub.dartlang.org/material_color_picker-0.0.1/lib/src/dropdown.dart:33:7: Error: The non-abstract class '_WidgetDropdownRoute' is missing implementations for these members:
compiler message: 'barrierLabel'.
compiler message: Try to either
compiler message: - provide an implementation,
compiler message: - inherit an implementation from a superclass or mixin,
compiler message: - mark the class as abstract, or
compiler message: - provide a 'noSuchMethod' implementation.
compiler message:
compiler message: class _WidgetDropdownRoute extends PopupRoute {
compiler message: ^^^^^^^^^^^^^^^^^^^^
compiler message: file:///Users/shenma/Documents/Flutter/flutter/packages/flutter/lib/src/widgets/routes.dart:831:14: Context: 'barrierLabel' is defined here.
compiler message: String get barrierLabel;
compiler message: ^^^^^^^^^^^^
compiler message: file:///Users/shenma/Documents/Flutter/projects/rich_editor/rich_editor/lib/src/widgets/rich_editable_text.dart:873:18: Error: Too many positional arguments: 0 allowed, 1 given.
compiler message: renderObject.setCaretPrototype(currentStyle.fontSize);
compiler message: ^
Compiler failed on /Users/shenma/Documents/Flutter/projects/rich_editor/rich_editor_demo/lib/main.dart
FAILURE: Build failed with an exception.
from rich_editor.
Related Issues (11)
- A better readme please???? HOT 1
- flutter run failed because rich_editor_demo depends on rich_editor from path which requires SDK version <2.0.0, version solving failed HOT 1
- Incompatible with latest flutter - just too many errors
- How do you add this to yaml as a dependency?
- Missing license HOT 1
- setCaretPrototype called with argument
- Error styling first word
- Is possible to support h1, ul and so on ?
- Can anybody tell me. How we can get Window Level effect on JPEG image in Flutter ?
- How to import to my Project?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rich_editor.