MCPcopy Index your code
hub / github.com/daothanhduy305/KRichEditor

github.com/daothanhduy305/KRichEditor @0.0.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.6 ↗ · + Follow
584 symbols 1,164 edges 25 files 90 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

API Download Build Status Android Arsenal

KRichEditor

A rich text editor (based on QuillJs and MRichTextEditor) ported to Kotlin

Install

Add to root Gradle:

allprojects {
  repositories {
      google()
      jcenter()
      ...
      maven { url 'http://dl.bintray.com/ebolo/ebolo-oss' }
      // maven { url 'https://jitpack.io' } // For latest SNAPSHOT
      ...
  }
}

Gradle:

implementation 'com.ebolo:krichtexteditor:x.y.z' // See latest version number above
// implementation 'com.github.daothanhduy305:KRichEditor:-SNAPSHOT'
// For latest SNAPSHOT with Jitpack
// Just retry syncing if the first one fails

Features

  • Bold
  • Italic
  • Underline
  • Strike-through
  • Heading 1
  • Heading 2
  • Heading 3
  • Heading 4
  • Heading 5
  • Heading 6
  • Paragraph
  • Quote
  • Ordered List
  • Unordered List
  • Link
  • Image
  • Justify Center
  • Justify Full
  • Justify Left
  • Justify Right
  • Subscript
  • Superscript
  • Font Size
  • Indent
  • Outdent
  • Undo
  • Redo

Bugs/Not working/Not supporting

  • RTL languages

Screenshot

Wiki - Usages, implementations, etc

License

The MIT License (MIT)

Copyright © 2017 daothanhduy305,

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Extension points exported contracts — how you extend this code

OnHtmlReturned (Interface)
* Interface as the callback for Java API on HTML returned * * @author ebolo (daothanhduy305@gmail.com) *
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/RichEditor.kt
OnTextReturned (Interface)
* Interface as the callback for Java API on text returned * * @author ebolo (daothanhduy305@gmail.com) *
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/RichEditor.kt
OnContentsReturned (Interface)
* Interface as the callback for Java API on contents (delta) returned * * @author ebolo (daothanhduy305@gmail.
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/RichEditor.kt

Core symbols most depended-on inside this repo

_interopRequireDefault
called by 161
krichtexteditor/src/main/assets/quill/quill.js
_interopRequireDefault
called by 91
krichtexteditor/src/main/assets/quill/quill.core.js
defineProperties
called by 70
krichtexteditor/src/main/assets/quill/quill.js
_get
called by 65
krichtexteditor/src/main/assets/quill/quill.js
_classCallCheck
called by 51
krichtexteditor/src/main/assets/quill/quill.js
_possibleConstructorReturn
called by 44
krichtexteditor/src/main/assets/quill/quill.js
_inherits
called by 43
krichtexteditor/src/main/assets/quill/quill.js
jQuery
called by 38
krichtexteditor/src/main/assets/jquery/jquery.js

Shape

Function 463
Method 98
Class 20
Interface 3

Languages

TypeScript79%
Kotlin19%
Java2%

Modules by API surface

krichtexteditor/src/main/assets/quill/quill.js169 symbols
krichtexteditor/src/main/assets/quill/quill.core.js132 symbols
krichtexteditor/src/main/assets/jquery/jquery.js102 symbols
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/RichEditor.kt51 symbols
krichtexteditor/src/main/assets/kricheditor.js35 symbols
krichtexteditor/src/main/assets/bootstrap/bootstrap.js22 symbols
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/fragments/KRichEditorFragment.kt14 symbols
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/ui/layouts/KRichEditorFragmentLayout.kt13 symbols
app/src/main/java/com/ebolo/kricheditor/JavaActivity.java8 symbols
app/src/main/java/com/ebolo/kricheditor/MainActivity.kt6 symbols
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/ui/widgets/RoundView.kt5 symbols
krichtexteditor/src/main/java/com/ebolo/krichtexteditor/ui/widgets/EditorToolbar.kt4 symbols

For agents

$ claude mcp add KRichEditor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page