Uncaught ReferenceError: CKEDITOR is not defined when using Augmentor Tags Widget

Created on 6 May 2023, over 1 year ago
Updated 10 May 2023, over 1 year ago

I installed the latest 1.0.2 version of this great moudle, added an augmentor field into a bundle and set its widget as Augmentor Tags Widget. and set the source field as body in the widget form. But when I clicked the augmentor field button "Extract keywords", the page showed error as the attached screenshot.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡³China fishfree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @fishfree
  • Assigned to eleonel
  • πŸ‡¦πŸ‡ΊAustralia murrayw
  • Status changed to Closed: duplicate over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States hyperlinked San Jose, CA

    This is a duplicate of this issue here:
    https://www.drupal.org/project/augmentor/issues/3358019 ✨ Separate Ckeditor 4 in a submodule Fixed

    It's caused because Augmentor has a dependency on CKeditor 4 and if CKeditor 4 isn't the chosen editor loaded for that entity form, Ajax requests will fail with that console error.

  • πŸ‡¨πŸ‡³China fishfree

    @hyperlinked Thank you! I applied all your patches. There is no console error now, however, it still does not work. It probably cannot get CKEditor content. So the output is as attached screenshot.:

    The "triple backticks" is the wording in my prompts.

  • πŸ‡ΊπŸ‡ΈUnited States hyperlinked San Jose, CA

    That "error" message you're getting appears to be a ChatGPT response, which suggests the issue is with the way your prompt was written.

    This isn't a module error response:

    I cannot extract keywords without the text enclosed within the triple backticks. Please provide the text.

    Can you post the prompt that you're using?

  • πŸ‡¨πŸ‡³China fishfree

    @hyprlinked My promp is as below:
    Extract at most 4 keywords seperated by comma from the following text delimited by triple backticks, and in the same language as the following text. ```{input}```

    Thank you!

Production build 0.71.5 2024