cocoanetics / dtrichtexteditor Goto Github PK
View Code? Open in Web Editor NEWA rich-text editor for iOS
License: BSD 2-Clause "Simplified" License
A rich-text editor for iOS
License: BSD 2-Clause "Simplified" License
As usual, new Xcode, new issues! Anyway, the following line in DTRichTextEditorView.m is preventing compilation:
#pragma mark Text Input Delegate and Text Input Tokenizer
@synthesize inputDelegate;
The error it is producing is:
The current deployment target does not support automated __weak references
I have attempted this on both an existing project which use to compile fine, and on a completely new project. I have all targets set to iOS 8.0. I have also tried 6.0 and 7.1.
Do you have any thoughts?
Repro steps:
Expected:
The image should fit in DTRichTextEditor
Actual:
The image is not property resized, part of the image is cut by DTRichTextEditor bounds.
hi ,
Use a magnifying glass to let it go after a magnifying glass to move up.I hope you can solve it.
thank you
when I open keyboard by taping other defaults textfields and then go to richtextview its works.
Even if I close app and open it again then its also works, So issue is keyboard not open first time.
Are you planning to support mentions and hashtags? I mean fire event when user start typing word starting @ or # symbol or change caret position to such word and ability to replace(or insert) autocompleted mention or tag
Rotating the iPad to any direction other than Portrait results in the loupe displaying incorrectly for that orientation. It appears that the Loupe is always in Portrait mode, thus when the device is in Landscape orientation the Loupe displays sideways. (Try selecting some text, that is fun!) Again, the Loupe itself, and the text displayed within it, is always oriented towards the device's Home button.
Hi,
I am using the rich text editor (DTRichTextEditor) in our project and are experiencing an issue with the use of the magnifying glass loupe (i.e. cursor positioning function) that is causing our app to crash.
Here are the repro steps:
The problem can appear on other occasions, but the steps above are the most reliable to reproduce the issue. We are testing on iOS 8. xcode 6.3 with iOS sdk 8.3
I'd would like to offer $200 USD to the person who can produce a fix for this issue. If the fix requires a reimplementation the magnification using the modern snapshotting methods, I'd understand that this would need more work and would pay $800 USD instead of $200 USD. Transfer of payment on a successful code review from Oliver and subject to final testing within my project.
Many thanks,
Simon.
When I double tap on the editor view (without any content), app crashed.
The demo project doesn't seem to build.
#import <DTCoreText/DTCoreText.h> not found
This library is deprecated, and no more updated?
This library has some issues, yet, but nothing was updated for about 1 year.
Hi,
I am using the rich text editor (DTRichTextEditor) in our project and are experiencing an issue with the use of the voice dictation feature available on the iOS keyboard. The problem results in either a crash or the spoken text being inserted multiple times.
Here are the repro steps:
We are testing on iOS 8. xcode 6.3 with iOS sdk 8.3
I'd would like to offer $200 USD to the person who can produce a fix to get voice dictation working properly. Transfer of payment on a successful code review from Oliver and subject to final testing within my project.
Many thanks,
Simon.
Text seems not to be rendered in iPhone 14 Pro, iOS 16.
Here are some details:
What‘s in my mind?
Seems like DTCoreText did not render properly. If you long press the editorView and DTLoupeView pops out, the text will be rendered well again.
What I have tried?
Any suggestions will be highly appreciated, thanks for your effort!
After the long press.Edited by a magnifying glass.In the case of without moving a magnifying glass to loosen a magnifying glass.Magnifying glass will be like the top left corner.I hope you can solve it # @amro @odrobnik @Daij-Djan @renep @danielphillips
Here is a bug.
NSAttachmentAttributeName is the variable of system.
Rewriting DTAttachmentAttributeName leads to the issue that couldn't display after inserting an image with iPhone devices.
The following line crashes the editor on iOS 5.1.1 and older:
[attributes removeObjectForKey:NSUnderlineStyleAttributeName];
It is found in the following method:
- (void)replaceRange:(DTTextRange *)range withText:(id)text
In the following file:
DTRichTextEditorView.m
Didn't see it in main repo or .gitmodules, did I miss anything?
is there any thing i missed? how to imporrt DTCoreText? By which way
Long-press for selection is crashing the control with the following message:
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'sublayer with non-finite position [inf inf]'
The crash appears to be coming from:
file: DTLoupeView.m
method: refreshViewContent
line: [_targetRootView.layer renderInContext:ctx];
Double tap for selection is not a problem, so the above loupe scenario seems logical.
This same build works fine on iOS 8.x devices.
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.