Happy new year! (In the context of this thread).
I’m having troubles trying to use the plugin functionality.
I am experimenting directly on TiddlyChess — A plugin for displaying chess boards from PGN games so all the code is genuine.
I created a tiddler with a FEN title:
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
This is the initial position. I edited the tiddler and added an annotation to its text field, saved the tiddler. The annotation shows up fine, since the default view template is applied, so far the tiddler is not TiddlyChess aware.
I edited the tiddler again and added a FEN tag as the plugin docs say (I’ve also tried changing the content type to application/x-chess-fen, and also both options together, the result is the same). After saving the tiddler, the chess board shows up in view mode, but the annotation text is gone.
I have tried to dig into the plugin source, found the tiddler $:/plugins/anacletus/tiddlychess/ViewTemplate/fen but when it loads into the story river in view mode, I see an error:
TiddlyChess widget error: Error: ERR_BOARD.Error: ERR_BOARD at parseBoardFen ($:/plugins/anacletus/tiddlychess/pgn-widget.js:1233:24) at parseFen ($:/plugins/anacletus/tiddlychess/pgn-widget.js:1314:15) at startingPosition ($:/plugins/anacletus/tiddlychess/pgn-widget.js:2561:12) at makeGame ($:/plugins/anacletus/tiddlychess/pgn-widget.js:2809:18) at new PgnViewer ($:/plugins/anacletus/tiddlychess/pgn-widget.js:2980:17) at start4 ($:/plugins/anacletus/tiddlychess/pgn-widget.js:5879:16) at MyWidget.render ($:/plugins/anacletus/tiddlychess/pgn-widget.js:5976:19) at Widget.renderChildren ($:/core/modules/widgets/widget.js:616:15) at TranscludeWidget.render ($:/core/modules/widgets/transclude.js:34:8) at Widget.renderChildren ($:/core/modules/widgets/widget.js:616:15)
I have also tried to modify the tiddler from:
<$pgn pgn={{!!text}} fen={{!!title}}}/>
to
<$pgn pgn={{!!text}} fen={{!!title}}}/>
{{!!text}}
and my annotation still does not show up.