Skip to main content

Install Txt42 plugin for Editor42

Editor42 is our free MIT-licensed rich text editor, an auditable fork of TinyMCE 6.8.6 with the same API under the editor42 global. The Txt42 plugin for TinyMCE runs in it unchanged: the same plugin, the same API key.

  • Download​

    Get the Txt42 plugin for the Editor42 you already run.

    Download Plugin
  • Unpack​

    Unpack the archive into the Editor42 folder, the one that holds plugins/. The plugin lands here:

    editor42/
    plugins/
    chat-gpt/
    plugin.js
    plugin.min.js
  • Enable​

    Enable the Txt42 add-on in the Editor42 config and put its Txt42Chat and Txt42Commands buttons on the toolbar:

    editor42.init({
    selector: "#editor",
    plugins: "chat-gpt",
    toolbar: "undo redo | bold italic | Txt42Chat Txt42Commands",

    // apiKey: "...",
    // Get your own key in the Dashboard: https://txt42.ai/dashboard
    });
  • Ready to Use

Configuration​

Configure your Txt42 Editor42 installation in the Dashboard: the AI provider keys of the Enterprise plan, the chat and the toolbar buttons, all without touching the code. See Configuration.

Dashboard