mthli / knife Goto Github PK
View Code? Open in Web Editor NEWKnife is a rich text editor component for writing documents in Android.
License: Apache License 2.0
Knife is a rich text editor component for writing documents in Android.
License: Apache License 2.0
Instead of selecting the text and then styling them, there should be functionality to toggle bold, italic, underline, etc. For example: One should be able to tap on bold icon which makes it active (if some text is not selected) and then subsequent text written should be typed bold until the bold icon is clicked again.
Generally when writing I know what words I want to write bold before hand and selecting the text after typing and then styling makes the process longer.
It can not change the typeface when use the inputmethod to choose the text.For example,Sougou
align left, align right, and align center.
Should work with both LTR and RTL languages.
how to change the default color? default background color : black? default text color: white; how to change?
Hi
I'm trying to use your library but the gradle failed to resolved compile 'com.github.mthli:Knife:v1.1'
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform.
AFAIK Knife is released under Apache License 2 so it is candidate to be added on F-Droid database.
You can follow the instructions on how to submit your app here.
If #you want you can edit README.md in order to add the following code with the correct Knife ID on F-Droid database
[![Get it on F-Droid](https://guardianproject.info/wp-content/uploads/2014/07/logo-fdroid.png)](https://f-droid.org/repository/browse/?fdid=AddHereKnifeID)
I have two activities. First is the editor activity. Second is the viewer activity where I can view previously stored texts (with xml parameter android:editable="false") however clicking on links doesn't make any response. Any help please ?
Please add text color, text highlight, and text size change feature,
When getting the HTML from knife and then setting it again using Html.from and Html.to methods strikethrough does not appear (even though the strike tag is there in HTML).
With bullets no html tags get added to the HTML content therefore whenever i get the text from knife and try to set it again no bullets are shown.
Quote looks different after settings the text again.
Otherwise it is an awesome library
Hi. Is this lib still in development? Would love to have the following features:
Hi @mthli,
When bullet is used and user enters text for more than one line, cursor for second and next lines has wrong position. You can see it on this clip: https://youtu.be/5A1rOtlUfG4
Please correct it.
Thanks,
Kuba
Every thing is fantastic kindly add subscript and superscript
The current word always has underline.
The caret should be enough.
Please don't put underline just because it's the current word.
Hello!
Keyboard automatically underline last word (for suggestions), but Knife.toHtml() saves this underline.
Any suggestions, how to solve this?
can't do validation of knife.
How yo get html code from knife
Not just bullets.
Hello, i don't know how to instantiate the editor...
any example?
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.