INNER CODE UNIT · JavaScript
editors
DinoChiesa/jwt-webtool · src/js/app.js:117
const editors = {}; // codemirror editors
CodeMirror.defineSimpleMode("encodedjwt", {
start: [
{
regex: re.signed.cm,
sol: true,
token: ["jwt-header", "", "jwt-payload", "", "jwt-signature"],
},
{
regex: re.encrypted.cm,
sol: true,
token: [
"jwt-header",
"",
"jwt-key",
"",
"jwt-iv",