Undefined widget 'edit-json ' when opening json tiddlers

If you have an application/json tiddler, and attempt to open it, you get the error

Undefined widget 'edit-json ’

Is this normal? Expected? I don’t see a edit-json widget referenced in the docs.

I can’t find that “edit-json” anywhere in advanced search. How did you get your JSON tiddler?

Basically any plugin or the $:/Import tiddler are JSON tiddlers, see advanced search filter [type[application/json]] that is it is one or more tiddlers in a JSON format, extracting subtiddlers is what a shadows tiddler is.

I think to get an error like that it may contain some corrupt data.

I think that is from my edit-json plugin - there is a extra space at the end of the tiddler $:/config/EditorTypeMappings/application/json - delete the space in the tiddler after ‘json’ and the plugin should work.

There was a line feed, not a space after “json”. I remove it. Saved. Reloaded. But still have the message. Then I disabled the web clipper. Saved. Reloaded. Still the same message.

If you are not using the json-editor plugin then you should delete the contents of $:/config/EditorTypeMappings/application/json

1 Like