Skip to content

Instantly share code, notes, and snippets.

copy: {
i18n: {
files: [
{
expand: true,
cwd: '/project_files',
src: '**/*.php',
dest: '/temp',
rename: (function () {
var index = 0;
(function () {
tinymce.PluginManager.add('menubutton_content_insertion', function (editor, url) {
editor.addButton('content_insert', function () {
var insertContent = function () {
var content = '';
switch (this.name()) {
case 'value_1':
content += 'Value 1';
break;
@alexVauch
alexVauch / WordPress.xml
Last active December 28, 2015 10:09 — forked from Rarst/deprecated.md
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="WordPress">
<option name="USE_SAME_INDENTS" value="true" />
<option name="IGNORE_SAME_INDENTS_FOR_LANGUAGES" value="true" />
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
<option name="USE_TAB_CHARACTER" value="true" />