报错:获取不到 selection(No Selection was obtained)
解答
环境变量 writerAutoFocus(LS_WEBRESOURCE_WRITERAUTOFOCUS)为默认 focus,可能是此变量设置为了 false 导致没有 selection,因此获取 selection 相关的sdk无法使用,需通过手动或API聚焦后才能正常调用。
详细解决方案参考:rootView 错误
环境变量 writerAutoFocus(LS_WEBRESOURCE_WRITERAUTOFOCUS)为默认 focus,可能是此变量设置为了 false 导致没有 selection,因此获取 selection 相关的sdk无法使用,需通过手动或API聚焦后才能正常调用。
详细解决方案参考:rootView 错误