Plugins
OverviewHTML editors
CKEditor 5 CKEditor 4 TinyMCE 6 and 7 TinyMCE 4 Froala Tiptap AngularCMS and LMS
WordPress Moodle Canvas, Blackboard and LTIBlogger
Other
Google Docs and Slides TiddlyWikiDevelopers
Writing your own
Canvas, Blackboard and LTI
Learning platforms share a standard for plugging in tools: LTI 1.3. fxEditor is available as an LTI tool, run by CodeCogs at https://lti.codecogs.com. Once your LMS administrator has registered it, it appears in your platform's editor or content picker — Canvas's Rich Content Editor, Moodle's External tool, and the like. An instructor opens it, writes the equation, presses Insert, and the equation is placed into the page they were editing as an image, with its LaTeX as the alt text for screen readers.
The same hosted tool serves every platform: Canvas, Blackboard, Brightspace (D2L), Schoology, Moodle, or any other LTI 1.3 platform. There is nothing to install or run on your side. This is what an instructor sees, shown here without an LMS — Insert puts the equation in the panel underneath:
Status. The hosted tool is live. Registration, launch and Insert have been tested from start to finish with Moodle 4.5, and the hosted service has been tested with a stand-in LTI 1.3 platform. It has not yet been registered with a production Canvas, Blackboard, Brightspace or Schoology site. If you are among the first, tell us how it goes — we will help with anything that differs from the steps below.
Adding fxEditor to your LMS
For your LMS administrator. It takes three steps: a licence, a registration, and making the tool available to courses.
1. Get a licence
Equations are drawn by fxTeX Pro, which is licensed per institution. Get a licence from fxeditor.codecogs.com/purchase: a 30-day trial, then a purchased licence to keep using it. The tool recognises your institution in either of two ways:
By address (simplest) — register your LMS's own address,
for example yourschool.instructure.com or moodle.yourschool.edu, as a
domain on the licence. Nothing more to set in the LMS.
By key — add the custom parameter
fxeditor_licence=fx_pk_…, with your licence key, to the tool's settings in the
LMS. Every launch carries it. Use this when your LMS's address cannot go on the licence.
A licensed institution's editor also has fxTeX Pro's chemistry and picture packages: chemical
formulae (\ce), chemical structures and reaction schemes (\chemfig), the
physics package (\dv and the rest) and LaTeX's picture environment.
2. Register the tool
Moodle, Canvas and Brightspace support LTI Dynamic Registration: you paste one address into the LMS, and the LMS and the tool exchange everything else themselves. The address is:
https://lti.codecogs.com/register
| Moodle | Site administration → Plugins → Activity modules → External tool → Manage tools. Paste the address into Tool URL and select Add LTI Advantage. Once it is registered, activate the tool if Moodle shows it as pending. |
| Canvas | Admin → (your account) → Developer Keys → + Developer Key → + LTI Registration. Paste the address and select Continue, then review and save. |
| Brightspace | Admin Tools → Manage Extensibility → LTI Advantage → Register Tool. Choose Dynamic, paste the address into Tool initiation registration endpoint, and register. Brightspace may create the registration disabled; if so, enable it. |
Blackboard and Schoology do not use Dynamic Registration. In each, a tool is registered once by its vendor, and institutions add it by its ID:
| Blackboard Learn | Contact us for fxEditor's Blackboard Application ID. Then, under Administrator Panel → Integrations → LTI Tool Providers → Register LTI 1.3/Advantage Tool, enter it as the Client ID and submit. |
| Schoology | Contact us to have fxEditor's LTI 1.3 app made available to your organisation, then install it from the App Center as a system administrator. |
Any other LTI 1.3 platform can register the tool by hand, with these values. Send us the client ID and endpoints your platform gives you in return, and we will add your platform on our side:
| Login (OIDC initiation) URL | https://lti.codecogs.com/login |
| Launch / redirect URL | https://lti.codecogs.com/launch |
| Public keyset (JWKS) URL | https://lti.codecogs.com/keys |
| Message type | Deep Linking (LtiDeepLinkingRequest) |
| Icon | https://lti.codecogs.com/logo.png (tool lists), https://lti.codecogs.com/logo.svg (editor buttons) |
3. Make it available
Canvas — set the new developer key to On, then install the app under Admin → Settings → Apps → + App, by its client ID (the number in the key's Details column). Instructors then find Equation (fxEditor) on the Rich Content Editor's apps button.
Moodle — in the tool's settings, set it to show in the activity chooser. Instructors then add an External tool activity and use Select content to build the equation. For equations in Moodle's own text editor, the Moodle plugin is the more direct route — an Equation button on the toolbar.
Brightspace, Blackboard and Schoology — deploy the tool to the org units or courses that should have it, as for any LTI Advantage tool. Instructors then find it among the tools in the content editor or content picker.
To use a licence key rather than your LMS's address, add the custom parameter
fxeditor_licence=fx_pk_… in the tool's or deployment's custom parameters in the
LMS (step 1).
Personal data and policies
The tool asks the LMS for no personal data — no names, email addresses, grades or class lists — and requests no LTI services. Whatever a launch still carries is removed before anything is stored. What remains is an opaque user id, the roles, the course's opaque id and the platform's own identifiers, and it is deleted after 24 hours. For each LMS installation the tool keeps only its identifiers, its licence, and how often it is opened and used, month by month.
For your review: Privacy Policy, Student Data Privacy, Accessibility (VPAT) and Security (HECVAT).
Running it yourself
Most institutions use the hosted tool. If you would rather run your own copy, the source is on
GitHub as willzyba/lti,
and in the lti-tool folder of the download in
Customise and download below. It is a Node.js server, and needs a
MongoDB database for LTI's platform and launch records, and a public HTTPS address —
platforms show LTI tools in a frame, which must be secure. Your copy needs its own fxEditor licence
for its own address.
npm install
cp .env.example .env # then set MONGO_URL, TOOL_URL, EQNEDITOR_LICENCE and EQNEDITOR_DESIGN
cp platforms.example.json platforms.json # only for platforms registered by hand
npm start
Platforms register it at <TOOL_URL>/register, as above. To add a platform
registered by hand to a running copy, without a restart:
npm run add-platform -- platform.json # the same JSON as platforms.example.json
| MONGO_URL | The MongoDB connection string. Required. |
| TOOL_URL | The tool's public address, as LMSs reach it, for example https://lti.yourschool.edu. Required. |
| EQNEDITOR_LICENCE | Your fxEditor licence key, for the tool's own address. Required, unless EQNEDITOR_LICENCE_FILE names a file holding it (a Docker secret). |
| EQNEDITOR_DESIGN | The editor's look, as JSON: dialog width, height and scale, toolbar panels and size, colour, equation and markup sizes, undo/redo. Build one in Customise and download — design.json in the download. |
| PORT | Port to listen on. Default 3000. |
| EQNEDITOR_SERVER | Where the equation editor is loaded from, as a URL: https://fxtex.codecogs.com. |
| EQNEDITOR_RENDER_URL | The fxTeX Server that draws the inserted images: https://fxtex.codecogs.com, or your own. |
| PLATFORMS_FILE / PLATFORMS_JSON | Platforms registered by hand, as a file or inline JSON, read at startup. |
Customise and download
Make the equation editor your own: choose what it shows, drag panels from
More panels into up to three toolbar rows, and pick a colour and sizes. The preview is
the real LTI 1.3 page, rebuilt as you go. Then add your licence key and download it: an
example.html with a page of equations to edit, loading everything it needs from
fxplugins.codecogs.com.
Your toolbar
More panels 0
School levels
Your design
The option that gives LTI 1.3 this design — it is already in the download. Leave it out and the editor uses the standard design.
Get your licence key from fxeditor.codecogs.com/purchase. Without a key, the download still works: equations show why they cannot render until you add one.
Or get the plugin’s source code from GitHub.
Complete example
The whole of the page running above: a simple, complete HTML page that loads LTI 1.3 and the
plugin. Every file comes from fxplugins.codecogs.com, so it works as it is —
put in your own licence key. (Keys are shortened here.)
Why an image
LTI hands content back to a platform as HTML, and platforms have no common form for
mathematics beyond that. An <img> drawn by
fxTeX Server, with the LaTeX as its
alt text, is the form every platform displays.
