-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 209b864
Showing
19 changed files
with
5,890 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
# WordPress Coding Standards | ||
# https://make.wordpress.org/core/handbook/coding-standards/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[{*.json,*.yml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Editors | ||
.idea | ||
|
||
# Grunt | ||
/node_modules/ | ||
none | ||
|
||
# Sass | ||
.sass-cache/ | ||
|
||
# OS X metadata | ||
.DS_Store | ||
|
||
# Windows junk | ||
Thumbs.db | ||
|
||
# Composer | ||
/vendor/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
rtCamp Google Embeds | ||
========================= | ||
|
||
[](https://www.repostatus.org/#active) | ||
|
||
This plugin allows adding preview for your Google Drive Documents right in your editor. | ||
|
||
## Development Notes | ||
|
||
##### Please run following commands from the root directory. | ||
|
||
1. Please verify your code is in compliance to the Coding Standards used in this Project. | ||
2. Run `composer phpcs filename` or `composer phpcs` to check for PHPCS errors/warnings. | ||
|
||
#### Building Plugin assets | ||
|
||
- Run ```npm install``` from repositories root to install all required dependencies. | ||
- To build a production version run `npm run build`. | ||
- While developing the plugin run `npm run dev` to build assets on file changes. | ||
- If any string is added/updated, run `npm run language` to update the language file. ( Assumes availability of `wp i18n` command. ) | ||
|
||
## Does this interest you? | ||
|
||
<a href="https://rtcamp.com/"><img src="https://rtcamp.com/wp-content/uploads/2019/04/[email protected]" alt="Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions"></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.rt-google-doc-embed { | ||
border: 1px solid #000; | ||
text-align: center; | ||
|
||
img { | ||
border: 1px solid #eee; | ||
margin: 15px auto; | ||
display: block; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@charset "UTF-8"; | ||
|
||
@import "embeds"; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.rt-google-doc-embed { | ||
border: 1px solid #000; | ||
text-align: center; | ||
} | ||
|
||
.rt-google-doc-embed img { | ||
border: 1px solid #eee; | ||
margin: 15px auto; | ||
display: block; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name" : "rtcamp/rt-google-embeds", | ||
"description": "Allows adding preview for your Google Drive Documents right in your editor.", | ||
"homepage" : "https://github.com/rtCamp/rt-google-embeds/", | ||
"type" : "wordpress-plugin", | ||
"license" : "GPL2.0", | ||
"require-dev": { | ||
"automattic/vipwpcs": "^2.0.0", | ||
"wp-coding-standards/wpcs": "*", | ||
"dealerdirect/phpcodesniffer-composer-installer": "*", | ||
"phpcompatibility/phpcompatibility-wp": "*" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Thrijith Thankachan", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"scripts": { | ||
"phpcs": "\"./vendor/bin/phpcs\"", | ||
"phpcbf": "\"./vendor/bin/phpcbf\"" | ||
} | ||
} |
Oops, something went wrong.