zhaozhaopeng68
zhaozhaopeng68
public void insertVideo(String videoUrl, String customStyle, String posterUrl) { if (TextUtils.isEmpty(customStyle)) { customStyle = "height=\"300\" " + " style=\"margin-top:10px;max-width:100%;display:block;width:100%;object-fit: fill;\""; } 我也有这个需求 这么改就可以了
> 是不是在这里设置才有效 > document.addEventListener("selectionchange", function() { > if(!isInit&&(document.innerHTML == "undefined" || document.innerHTML == null || document.innerHTML == "")){ > isInit = true > //初始化 java代码直接设置不行 必须在此时选中后 > console.log("初始化-默认style") > document.execCommand("fontSize",...