Topic on Talk:VisualEditor

Jump to navigation Jump to search

VisualEditor Stuck: Cannot read property 'toText' of null

1
Fatihbahceci (talkcontribs)

Here is code which stucked

ve.dm.MWInternalLinkAnnotation.static.dataElementFromTitle=

function(title,rawTitle){

var element,target=title.toText(),

namespaceIds=mw.config.get('wgNamespaceIds');


Here is console error


load.php?debug=false…ersion=1c9irsr:1892 Uncaught TypeError: Cannot read property 'toText' of null at Object.mw.loader.implement.ve.dm.MWInternalLinkAnnotation.static.dataElementFromTitle (load.php?debug=false…ersion=1c9irsr:1892) at Object.mw.loader.implement.ve.dm.MWInternalLinkAnnotation.static.newFromTitle (load.php?debug=false…ersion=1c9irsr:1893) at Object.ve.ui.MWLinkAction.static.getLinkAnnotation (load.php?debug=false…ersion=1c9irsr:1734) at Object.mw.loader.implement.ve.dm.MWExternalLinkAnnotation.static.toDataElement (load.php?debug=false…ersion=1c9irsr:1890) at VeDmConverter.ve.dm.Converter.createDataElements (load.php?debug=false…version=1c9irsr:965) at VeDmConverter.ve.dm.Converter.getDataFromDomSubtree (load.php?debug=false…version=1c9irsr:971) at VeDmConverter.ve.dm.Converter.getDataFromDomSubtree (load.php?debug=false…version=1c9irsr:974) at VeDmConverter.ve.dm.Converter.getDataFromDomSubtree (load.php?debug=false…version=1c9irsr:974) at VeDmConverter.ve.dm.Converter.getDataFromDomSubtree (load.php?debug=false…version=1c9irsr:974) at VeDmConverter.ve.dm.Converter.getDataFromDomSubtree (load.php?debug=false…version=1c9irsr:974)

mw.loader.implement.ve.dm.MWInternalLinkAnnotation.static.dataElementFromTitle @ load.php?debug=false…ersion=1c9irsr:1892
mw.loader.implement.ve.dm.MWInternalLinkAnnotation.static.newFromTitle @ load.php?debug=false…ersion=1c9irsr:1893
ve.ui.MWLinkAction.static.getLinkAnnotation @ load.php?debug=false…ersion=1c9irsr:1734
mw.loader.implement.ve.dm.MWExternalLinkAnnotation.static.toDataElement @ load.php?debug=false…ersion=1c9irsr:1890


Reply to "VisualEditor Stuck: Cannot read property 'toText' of null"