Giter Site home page Giter Site logo

mricheditor's People

Contributors

even201314 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mricheditor's Issues

适配问题。

这个demo不兼容华为荣耀20,原因是keyboardHeightProvider的问题,我看到你里面用了blankj的键盘监听,后来我把keyboardHeightProvider删除了 用了blankj的键盘升降监听,把你原来的逻辑放在他里面问题就解决了

无法获取值

mRichEditorAction.refreshHtml(mRichEditorCallback);
使用手动触发

@OverRide
public void returnHtml(String html) {
}
无法回调到值

致命问题

看了好几个库 webview实现的方式都有一个共同的问题,当app 中有加载过webview的操作后,再进富文本编辑器页面的时候 会导致组件无效,或是其他一些莫名其妙的问题。。。。

软件盘会遮掉要输入内容的地方

demo里面,加入我的文章很长, 选择底部的文字,弹出的软键盘会遮盖掉底部的输入光标处。
从代码上看是webview的高度变化了,但是试了好一些scrollto scrollby设置方法,还是没法让webview滚动到光标处。
所以在这里问问有没有什么解决方法。如果解决方法或者思路,麻烦赐教

Bug: toggles aren't intuitive to use

Steps:

  1. make empty text.
  2. click the bold button. Nothing happens.
  3. start typing. It actually has turned the bold to be activated.
  4. delete all
  5. press the bold button. Again nothing happens.
  6. start typing. It actually disabled the bold.

This and similar issues occur on other buttons.

See video here:
device-2018-02-12-103740.zip

如何控制内容是否可以编辑?

尝试把richEditor.html中的
div id="summernote" contenteditable="true"></div>
contenteditable 设置为false,但是加载出来的内容仍然可以编辑。有其他的方法吗?

Regarding Implementation

Hello there,
i liked your work,
but i not found that how can i implement
this in my app.
So documentation is needed.

插入图片后如何换行

插入图片后无法换行,如果图片过长,点击图片后应该是不用调起输入法的,这样会遮挡住图片的功能(缩放,删除)
以下代码行不通。。。。。

var insertBr = function() {
var node = document.createElement('p');
node.innerHTML='</ br>';
$('#summernote').appendChild('node');
}

mWebView.loadUrl("javascript:insertBr()");

What is the dependecy in gradle?

I want to use richeditor so that it has the keyboard that you are using in gifs.
Is there build.gadle dependency that I can use?
Thanks in advance!

无法监听WebView的滚动距离

使用提供的方法做图文混排,但是需要监听WebView的滚动位置。重写onScrollChanged(),滚动的时候却没有触发这个回掉。有什么解决方案吗?

@Mentions functionality

@Even201314 Can you add callbacks for @Mentions functionality.
This way user can mention anyone.
The callbacks will return the characters that are being typed and this way we can also make a server call to fetch particular user.

Wysiwyg Viewer

Hi Im trying to make a quora kind of app where all the answers written using MRichEditor will be displayed in recyclerview. Is there any textview where i load the output of this editor and expect the same output. If there any alternative solution or suggesstion. Please let me know. Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.