canopas / rich-editor-swiftui Goto Github PK
View Code? Open in Web Editor NEWRichEditorSwiftUI is swift based library, it is made to make rich text editing easy with SwiftUI.
License: MIT License
RichEditorSwiftUI is swift based library, it is made to make rich text editing easy with SwiftUI.
License: MIT License
The Text Editor works well but there are no variables to access the current AttributedString that represents the content on the editor.
Hello guys, thanks for sharing this!
I am currently using rich text editor by Daniel Sadi, but looking for a simpler version that I can customise.
Do you guys plan to support setting Text color and font?
the RichTextEditor works well (I'm trying out the demo app) but I can't use shortcuts such as Command + A to sele ct all text
The text editor view does not conform to support for Dark Mode making it unusable when the device is set that way. Please support the text color changes necessary to work properly in this mode
Hello Canopas team,
I ported the code to MacOS/Appkit over the weekend, project is on the zip bellow:
rich-editor-swiftui-main-3.zip
On this code:
import Foundation
public class RichEditorState: ObservableObject {
private var adapter: EditorAdapter = DefaultAdapter()
@Published internal var editableText: NSMutableAttributedString
Xcode prints this, when trying to apply rich text:
Publishing changes from within view updates is not allowed, this will cause undefined behavior.
Then rich text doesn't get applied, and you need to click on underwrite and then it works.
Please let me know what you guys think, and if you could help solve this issue.
Next steps would be.
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.