fvtt-fria-ligan / forbidden-lands-foundry-vtt

This is a Forbidden Lands game System for the Foundry Virtual Tabletop. Made by @Perfectro, @patrys and @aMediocreDad. Maintained by @aMediocreDad
https://foundryvtt.com/packages/forbidden-lands/
Other
40 stars 43 forks source link

Text Editor Never Leaves Edit Mode/Prevents Saving #363

Closed NerdEyeIndustries closed 1 year ago

NerdEyeIndustries commented 1 year ago

Describe the bug

None of the games text editors are functioning.. Editor never leaves edit mode when you click save.

Reproduction

(See character/bio tab)

System Info

Foundry 11

Logs

No log entries (errors or warnings)

Validations

Zanion commented 1 year ago

+1 Reproduced in my instance as well Foundry V10. This defect is observed as preventing any item/actor descriptions from being saved. This was introduced in 11.3.1.

Console error on item effect save:

Uncaught (in promise) Error: system.effect is not an active editor name!
    at ForbiddenLandsGearSheet.saveEditor (foundry.js:6060:46)
    at jR.save_onsavecallback (foundry.js:6102:39)
    at plugin.min.js:4:1197
    at jR.<anonymous> (plugin.min.js:4:1412)
    at commands.exec.<computed> (tinymce.min.js:4:358670)
    at iR.execCommand (tinymce.min.js:4:358116)
    at jR.execCommand (tinymce.min.js:4:383782)
    at Object.onAction (plugin.min.js:4:842)
    at theme.min.js:4:261255
    at theme.min.js:4:118394
    at theme.min.js:4:261224
    at theme.min.js:4:29516
    at N (theme.min.js:4:2455)
    at run (theme.min.js:4:29501)
    at theme.min.js:4:30368
    at theme.min.js:4:782
    at theme.min.js:4:139333
    at B.fold (theme.min.js:4:1075)
    at fx (theme.min.js:4:139241)
    at bx (theme.min.js:4:139633)
    at vx (theme.min.js:4:139720)
    at theme.min.js:4:141481
    at theme.min.js:4:37522
    at li (theme.min.js:4:38286)
    at Object.triggerEvent (theme.min.js:4:141470)
    at Cr (theme.min.js:4:25368)
    at xr (theme.min.js:4:25213)
    at Sr (theme.min.js:4:25276)
    at e (theme.min.js:4:86243)
    at theme.min.js:4:30368
    at theme.min.js:4:782
    at theme.min.js:4:139333
    at B.fold (theme.min.js:4:1075)
    at fx (theme.min.js:4:139241)
    at bx (theme.min.js:4:139633)
    at vx (theme.min.js:4:139720)
    at theme.min.js:4:141389
    at theme.min.js:4:141410
    at theme.min.js:4:37522
    at li (theme.min.js:4:38286)
    at Object.triggerEvent (theme.min.js:4:141359)
    at theme.min.js:4:138209
    at HTMLDivElement.<anonymous> (theme.min.js:4:13954)