Skip to content

Commit

Permalink
build: 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamVaidya committed Apr 7, 2024
1 parent b15b1aa commit d90eb90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supercode-tinymce-plugin",
"version": "1.0.1",
"version": "1.0.2",
"description": "Opensource and Powerful Source Code editor for TinyMCE. Also enables more than just HTML editing enabling Markdown Editing or any source code editing.",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 1 addition & 5 deletions supercode/plugin.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
! function() {
"use strict";

let aceEditor;

const initDependencies = (config) => {
const scripts = {
"ace-default" : {
Expand Down Expand Up @@ -50,8 +48,7 @@
return false;
}

let editorWidth = 0, originalHeader, isScreenSizeChanged = false, session;

let editorWidth = 0, originalHeader, isScreenSizeChanged = false, session, aceEditor;

let Config = {
theme: 'chrome',
Expand Down Expand Up @@ -217,7 +214,6 @@
buildAceEditor(view);
}


setConfig(editor);
initDependencies(Config);

Expand Down
3 changes: 1 addition & 2 deletions supercode/plugin.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function() {
let i;
const S = (n) => {
const c = {
"ace-default": {
Expand Down Expand Up @@ -27,7 +26,7 @@
}, w = (n) => n.getParam("inline") !== !0, x = function(n) {
if (!w(n))
return console.error("Supercode Plugin is not supported in inline mode"), !1;
let c = 0, l, d = !1, u, t = {
let c = 0, l, d = !1, u, i, t = {
theme: "chrome",
fontSize: 14,
// in px
Expand Down

0 comments on commit d90eb90

Please sign in to comment.