parker007 发表于 2020-9-10 17:05:18

富文本首次可以使用,重新编辑页面出错。

本帖最后由 parker007 于 2020-9-10 17:07 编辑

富文本首次可以使用,重新编辑页面出错。求大老指教。下载的开源代码也有这个问题。消息中心-模板管理。
Cannot read property 'pageYOffset' of null
Uncaught TypeError: Cannot read property 'pageYOffset' of null
    at absolute (tinymce.js?7221:1580)
    at markerInfo (tinymce.js?7221:16791)
    at createMarker (tinymce.js?7221:16805)
    at applyWithMarker (tinymce.js?7221:16833)
    at eval (tinymce.js?7221:16814)
    at preserveWith (tinymce.js?7221:16846)
    at withMarker (tinymce.js?7221:16813)
    at rangeIntoFrame (tinymce.js?7221:16897)
    at scrollRangeIntoView (tinymce.js?7221:16908)
    at setContent$2 (tinymce.js?7221:17351)
absolute @ tinymce.js?7221:1580
markerInfo @ tinymce.js?7221:16791
createMarker @ tinymce.js?7221:16805
applyWithMarker @ tinymce.js?7221:16833
eval @ tinymce.js?7221:16814
preserveWith @ tinymce.js?7221:16846
withMarker @ tinymce.js?7221:16813
rangeIntoFrame @ tinymce.js?7221:16897
scrollRangeIntoView @ tinymce.js?7221:16908
setContent$2 @ tinymce.js?7221:17351
setContent @ tinymce.js?7221:17886
insertImageAtCaret @ plugin.js?92fb:752
insertOrUpdateImage @ plugin.js?92fb:805
eval @ plugin.js?92fb:1598
ignore @ tinymce.js?7221:15704
ignore @ tinymce.js?7221:15756
ignore$1 @ tinymce.js?7221:15937
ignore @ tinymce.js?7221:20658
transact @ tinymce.js?7221:15698
transact @ tinymce.js?7221:15753
transact$1 @ tinymce.js?7221:15934
transact @ tinymce.js?7221:20655
eval @ plugin.js?92fb:1597
commands.exec.<computed> @ tinymce.js?7221:26423
EditorCommands.execCommand @ tinymce.js?7221:26337
Editor.execCommand @ tinymce.js?7221:27780
eval @ plugin.js?92fb:1518
eval @ theme.js?12ee:30946
eval @ theme.js?12ee:30935
eval @ theme.js?12ee:30941
each @ theme.js?12ee:175
withSpec @ theme.js?12ee:30940
eval @ theme.js?12ee:30934
eval @ theme.js?12ee:2670
eval @ theme.js?12ee:52
eval @ theme.js?12ee:12505
fold @ theme.js?12ee:157
doTriggerHandler @ theme.js?12ee:12499
doTriggerOnUntilStopped @ theme.js?12ee:12524
triggerOnUntilStopped @ theme.js?12ee:12551
eval @ theme.js?12ee:12716
processEvent @ theme.js?12ee:3684
monitorEvent @ theme.js?12ee:3721
triggerEvent @ theme.js?12ee:12715
dispatchWith @ theme.js?12ee:2039
emit @ theme.js?12ee:2026
eval @ theme.js?12ee:17854
eval @ theme.js?12ee:7745
eval @ theme.js?12ee:1969
each @ theme.js?12ee:310
run @ theme.js?12ee:1968
eval @ theme.js?12ee:2670
eval @ theme.js?12ee:52
eval @ theme.js?12ee:12505
fold @ theme.js?12ee:157
doTriggerHandler @ theme.js?12ee:12499
doTriggerOnUntilStopped @ theme.js?12ee:12524
triggerOnUntilStopped @ theme.js?12ee:12551
eval @ theme.js?12ee:12716
processEvent @ theme.js?12ee:3684
monitorEvent @ theme.js?12ee:3721
triggerEvent @ theme.js?12ee:12715
dispatchWith @ theme.js?12ee:2039
emit @ theme.js?12ee:2026
emitExecute @ theme.js?12ee:2032
onClick @ theme.js?12ee:7733
eval @ theme.js?12ee:1969
each @ theme.js?12ee:310
run @ theme.js?12ee:1968
eval @ theme.js?12ee:2670
eval @ theme.js?12ee:52
eval @ theme.js?12ee:12505
fold @ theme.js?12ee:157
doTriggerHandler @ theme.js?12ee:12499
doTriggerOnUntilStopped @ theme.js?12ee:12524
triggerOnUntilStopped @ theme.js?12ee:12551
triggerUntilStopped @ theme.js?12ee:12547
eval @ theme.js?12ee:12708
processEvent @ theme.js?12ee:3684
monitorEvent @ theme.js?12ee:3721
triggerEvent @ theme.js?12ee:12707
eval @ theme.js?12ee:12390
eval @ theme.js?12ee:3352
Show 53 more frames

页: [1]
查看完整版本: 富文本首次可以使用,重新编辑页面出错。