Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover restoring and fetch function fixed #101

Merged
merged 9 commits into from
Dec 25, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
plugins ready
  • Loading branch information
khaydarov committed Dec 21, 2016
commit 586afdbee5544c1fe912127d9e36efe7a689deca
18 changes: 0 additions & 18 deletions plugins/code/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,3 @@ var codeTool = {
}

};

/**
* Now plugin is ready.
* Add it to redactor tools
*/
// codeTool = {
//
// type : 'code',
// iconClassname : 'ce-icon-code',
// make : codeTool.make,
// appendCallback : null,
// settings : null,
// render : codeTool.render,
// save : codeTool.save,
// displayInToolbox : true,
// enableLineBreaks : true
//
// };
19 changes: 1 addition & 18 deletions plugins/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,24 +154,7 @@ var headerTool = {

/** Close settings after replacing */
codex.toolbar.settings.close();
},
}

};

/**
* Now plugin is ready.
* Add it to redactor tools
*/
// headerTool = {
//
// type : 'header',
// iconClassname : 'ce-icon-header',
// make : headerTool.make,
// appendCallback : headerTool.appendCallback,
// settings : headerTool.makeSettings(),
// render : headerTool.render,
// save : headerTool.save,
// displayInToolbox : true,
// enableLineBreaks : false
//
// };
21 changes: 1 addition & 20 deletions plugins/image/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,23 +399,4 @@ ceImage.photoUploadingCallbacks = {
codex.notifications.errorThrown();
}

};


/**
* Add plugin it to redactor tools
*/
// ceImage = {
//
// type : 'image',
// iconClassname : 'ce-icon-picture',
// make : ceImage.make,
// appendCallback : ceImage.appendCallback,
// settings : ceImage.makeSettings(),
// render : ceImage.render,
// save : ceImage.save,
// isStretched : true,
// displayInToolbox : true,
// enableLineBreaks : false
//
// };
};
19 changes: 1 addition & 18 deletions plugins/images/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,23 +441,6 @@ ceImage.photoUploadingCallbacks = {
error : function(result) {
console.log('Choosen file is not an image or image is corrupted');
cEditor.notifications.errorThrown();
},

}


/**
* Add plugin it to redactor tools
*/
cEditor.tools.image = {

type : 'image',
iconClassname : 'ce-icon-picture',
make : ceImage.make,
settings : ceImage.makeSettings(),
render : ceImage.render,
save : ceImage.save,
isStretched : true,
enableLineBreaks : false
}

};
16 changes: 0 additions & 16 deletions plugins/instagram/instagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,3 @@ instagramTool.content = {
}

};

// instagramTool = {
//
// type : 'instagram',
// iconClassname : 'ce-icon-instagram',
// prepare : instagramTool.prepare,
// make : instagramTool.make,
// appendCallback : null,
// settings : null,
// render : instagramTool.render,
// save : instagramTool.save,
// displayInToolbox : false,
// enableLineBreaks : false,
// allowedToPaste : false
//
// };
13 changes: 0 additions & 13 deletions plugins/link/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,16 +306,3 @@ linkTool.ui = {
}

};

// linkTool = {
//
// type : 'link',
// iconClassname : 'ce-icon-link',
// make : linkTool.makeNewBlock,
// appendCallback : linkTool.appendCallback,
// render : linkTool.render,
// save : linkTool.save,
// displayInToolbox : true,
// enableLineBreaks : true
//
// };
18 changes: 0 additions & 18 deletions plugins/list/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,21 +155,3 @@ listTool.ui = {
return button;
}
};

/**
* Now plugin is ready.
* Add it to redactor tools
// */
// module.exports = {
//
// type : 'list',
// iconClassname : 'ce-icon-list-bullet',
// make : listTool.make,
// appendCallback : null,
// settings : listTool.makeSettings(),
// render : listTool.render,
// save : listTool.save,
// displayInToolbox : true,
// enableLineBreaks : true
//
// };
19 changes: 0 additions & 19 deletions plugins/paragraph/paragraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,3 @@ var paragraphTool = {
}

};

/**
* Now plugin is ready.
* Add it to redactor tools
*/
// module.exports = {
//
// type : 'paragraph',
// iconClassname : 'ce-icon-paragraph',
// make : paragraphTool.make,
// appendCallback : null,
// settings : null,
// render : paragraphTool.render,
// save : paragraphTool.save,
// displayInToolbox : false,
// enableLineBreaks : false,
// allowedToPaste : true
//
// };
17 changes: 0 additions & 17 deletions plugins/paste/paste.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,20 +223,3 @@ pasteTool.callbacks = {
}

};

// module.exports = {
//
// type : 'paste',
// iconClassname : '',
// prepare : pasteTool.prepare,
// make : pasteTool.make,
// appendCallback : null,
// settings : null,
// render : null,
// save : pasteTool.save,
// callbacks : pasteTool.callbacks,
// displayInToolbox : false,
// enableLineBreaks : false,
// allowedToPaste : false
//
// };
15 changes: 0 additions & 15 deletions plugins/quote/quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,18 +444,3 @@ quoteTools.photoUploadingCallbacks = {
}

};

// module.exports = {
//
// type : 'quote',
// iconClassname : 'ce-icon-quote',
// make : quoteTools.makeBlockToAppend,
// appendCallback : null,
// settings : quoteTools.makeSettings(),
// render : quoteTools.render,
// save : quoteTools.save,
// displayInToolbox : true,
// enableLineBreaks : true,
// allowedToPaste : true
//
// };
16 changes: 0 additions & 16 deletions plugins/twitter/twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,3 @@ twitterTool.content = {
return block;
}
};

// module.exports = {
//
// type : 'twitter',
// iconClassname : 'ce-icon-twitter',
// prepare : twitterTool.prepare,
// make : twitterTool.make,
// appendCallback : null,
// settings : null,
// render : twitterTool.render,
// save : twitterTool.save,
// displayInToolbox : false,
// enableLineBreaks : false,
// allowedToPaste : false
//
// };