even201314 / mricheditor Goto Github PK
View Code? Open in Web Editor NEWA rich text editor sample (based on summernote)
A rich text editor sample (based on summernote)
需求:如何给webview 加上输入提示呢,当获取焦点时,提示消失
这个demo不兼容华为荣耀20,原因是keyboardHeightProvider的问题,我看到你里面用了blankj的键盘监听,后来我把keyboardHeightProvider删除了 用了blankj的键盘升降监听,把你原来的逻辑放在他里面问题就解决了
.......leaked window android.widget.PopupWindow$PopupDecorView
mRichEditorAction.refreshHtml(mRichEditorCallback);
使用手动触发
@OverRide
public void returnHtml(String html) {
}
无法回调到值
您好,请问如何第一次点击H1标签文字变成H1格式的,再点击一次恢复原来的样式!,谢谢!
summernote 修改字号的时候 如何ol的序号大小一起改变?
看了好几个库 webview实现的方式都有一个共同的问题,当app 中有加载过webview的操作后,再进富文本编辑器页面的时候 会导致组件无效,或是其他一些莫名其妙的问题。。。。
mRichEditorCallback.getHtml()返回为null
demo里面,加入我的文章很长, 选择底部的文字,弹出的软键盘会遮盖掉底部的输入光标处。
从代码上看是webview的高度变化了,但是试了好一些scrollto scrollby设置方法,还是没法让webview滚动到光标处。
所以在这里问问有没有什么解决方法。如果解决方法或者思路,麻烦赐教
If I set it to be right aligned, the list numbers/bullets are still on the left.
Not only that, but writing in RTL puts the caret in the wrong place.
See video:
device-2018-02-12-103359.zip
如题
because my side of the demand is the user after editing, the need to upload data to the server, hoping to answer, thank you。
Steps:
This and similar issues occur on other buttons.
See video here:
device-2018-02-12-103740.zip
想直接加载一段html格式的String字符串,但是没有任何效果。
尝试把richEditor.html中的
div id="summernote" contenteditable="true"></div>
contenteditable 设置为false,但是加载出来的内容仍然可以编辑。有其他的方法吗?
就是有什么方法可以进入富文本编辑界面就直接弹出软键盘的吗,我用了N种弹出键盘的方法都无效,求助, @Even201314
Hello there,
i liked your work,
but i not found that how can i implement
this in my app.
So documentation is needed.
https://nvd.nist.gov/vuln/detail/cve-2019-11358
There is a security vulnerability with the jQuery version in the project. The current jQuery version is v3.2.1
.
This issue has been fixed on any version greater than 3.4.x of jQuery
References:
目前需要是类似知乎的保存草稿功能,我退出界面的时候 把编辑过的html保存到本地,在次进入的时候去调用instertHtml,但是没有效果。 @Even201314
插入图片后无法换行,如果图片过长,点击图片后应该是不用调起输入法的,这样会遮挡住图片的功能(缩放,删除)
以下代码行不通。。。。。
var insertBr = function() {
var node = document.createElement('p');
node.innerHTML='</ br>';
$('#summernote').appendChild('node');
}
mWebView.loadUrl("javascript:insertBr()");
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的滚动位置。重写onScrollChanged(),滚动的时候却没有触发这个回掉。有什么解决方案吗?
或者动态替换当前的文本,能在初始化之后进行吗
设置字体大小,然后点击Webview,然后再点击设置字体大小功能,上面的UI显示的字体大小和之前设置的不一致,会变小。
@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.
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
作者可以给我一个联系方式么?有问题请教,有报酬
我qq45541926
怎取消引用呢
如题 不知道有没有 生成一个库呢 就是在gradle直接添加的依赖 如果方便 可以加我QQ 1525089850
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.