Since the old webviewPanel does not refer to the old SprottyWebview (which is a KlighdWebview) cannot be readded to the list of available KlighdWebviews in KlighdExtension and the old panel cannot be used during the creation of a new KlighdWebview since it is readonly, we recreate the Diagram on the start of the extension for the currently active editor.
Since the old webviewPanel does not refer to the old
SprottyWebview
(which is aKlighdWebview
) cannot be readded to the list of availableKlighdWebview
s inKlighdExtension
and the old panel cannot be used during the creation of a newKlighdWebview
since it isreadonly
, we recreate the Diagram on the start of the extension for the currently active editor.