Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V10] Editors: Can't save text #261

Closed
5 tasks done
Cador2 opened this issue Sep 6, 2022 · 3 comments
Closed
5 tasks done

[V10] Editors: Can't save text #261

Cador2 opened this issue Sep 6, 2022 · 3 comments
Labels
bug Issues pertaining to bugs V10 Issue Issues related to the release of Foundry VTT V10
Milestone

Comments

@Cador2
Copy link

Cador2 commented Sep 6, 2022

Describe the bug

i cant save any text, for example in the bio of the hero, or in journal entries.

Reproduction

just load a new word, create an actor and try to type smth in his bio

System Info

os windows 10
latest foundry update for the desktop app

Logs

that is the error when i try to save the bio
24foundry.js:5920 Uncaught (in promise) Error: system.bio.pride.value is not an active editor name!
at ForbiddenLandsCharacterSheet.saveEditor (foundry.js:5920)
at jR.save_onsavecallback (foundry.js:5962)
at plugin.min.js:4
at jR. (plugin.min.js:4)
at commands.exec. (tinymce.min.js:4)
at iR.execCommand (tinymce.min.js:4)
at jR.execCommand (tinymce.min.js:4)
at Object.onAction (plugin.min.js:4)
at theme.min.js:4
at theme.min.js:4

Validations

  • Done a clean install of the system.
  • Disabled all modules.
  • Checked if the issue is present in a new world instance (create a new world in foundry using the Forbidden Lands system).
  • Not a bug report about the content modules. Reports regarding the content modules go here instead.
  • Not a "How To"-question (You can ask questions here: Discussions).
@Cador2 Cador2 added the bug Issues pertaining to bugs label Sep 6, 2022
@skeet70
Copy link

skeet70 commented Sep 9, 2022

I have the same problem, this is the error I get when I try to save a journal entry

Uncaught (in promise) Error: text.content is not an active editor name!
[No packages detected]
    saveEditor http://192.168.0.59:30000/scripts/foundry.js:5977
    onSave http://192.168.0.59:30000/scripts/foundry.js:6068
    _handleSave http://192.168.0.59:30000/scripts/prosemirror.js:15328
    _onAction http://192.168.0.59:30000/scripts/prosemirror.js:15301
    onclick http://192.168.0.59:30000/scripts/prosemirror.js:14854

image
image

All the journal controls are fully horizontal and expanded as well.

@skeet70
Copy link

skeet70 commented Sep 9, 2022

This may be related to #250 but I'm not sure if these are the alternative sheets or not.

@aMediocreDad aMediocreDad added the V10 Issue Issues related to the release of Foundry VTT V10 label Sep 10, 2022
@aMediocreDad aMediocreDad changed the title cant save text [V10] Editors: Can't save text Sep 12, 2022
aMediocreDad added a commit to aMediocreDad/forbidden-lands-foundry-vtt that referenced this issue Sep 18, 2022
@skeet70
Copy link

skeet70 commented Sep 19, 2022

Confirmed that 0e92817 fixed the saving issue, and also makes the formatting controls show up in a sane way. Editing old journal pages still seems to have some weird text display issue. For reference:

Page created and edited in v10:
image

Page created in v9 and edited in v10:
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues pertaining to bugs V10 Issue Issues related to the release of Foundry VTT V10
Projects
None yet
Development

No branches or pull requests

3 participants