Skip to content

Commit db7047d

Browse files
committed
Initial commit
0 parents  commit db7047d

11 files changed

+6495
-0
lines changed

.gitattributes

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Do not export those files in the Composer archive (lighter dependency)
2+
.browserlistrc export-ignore
3+
.codecov.yml export-ignore
4+
.gitattributes export-ignore
5+
.github/ export-ignore
6+
.gitignore export-ignore
7+
.travis.yml export-ignore
8+
CHANGELOG.md export-ignore
9+
codeception.yml export-ignore
10+
composer.lock export-ignore
11+
gruntfile.js export-ignore
12+
gulpfile.js export-ignore
13+
lib/ export-ignore
14+
package.json export-ignore
15+
package-lock.json export-ignore
16+
phpstan.neon export-ignore
17+
README.md export-ignore
18+
SECURITY.md export-ignore
19+
stubs/ export-ignore
20+
tests/ export-ignore
21+
22+
# Auto detect text files and perform LF normalization
23+
* text=auto

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.idea/*
2+
*.log
3+
*.DS_Store
4+
*Thumbs.db
5+
/node_modules
6+
/vendor

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Pixel & Tonic, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Base HTML Field
2+
3+
This package provides a base class for Craft CMS field types that store HTML values, such as Redactor and CKEditor.

composer.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "craftcms/html-field",
3+
"description": "Base class for Craft CMS field types with HTML values.",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Pixel & Tonic",
9+
"homepage": "https://pixelandtonic.com/"
10+
}
11+
],
12+
"support": {
13+
"email": "[email protected]",
14+
"issues": "https://github.com/craftcms/html-field/issues?state=open",
15+
"source": "https://github.com/craftcms/html-field",
16+
"docs": "https://github.com/craftcms/html-field/blob/main/README.md",
17+
"rss": "https://github.com/craftcms/html-field/commits/main.atom"
18+
},
19+
"require": {
20+
"craftcms/cms": "^3.6.0"
21+
},
22+
"require-dev": {
23+
"phpstan/phpstan": "^0.12.96"
24+
},
25+
"autoload": {
26+
"psr-4": {
27+
"craft\\htmlfield\\": "src/"
28+
}
29+
},
30+
"scripts": {
31+
"phpstan": "phpstan --memory-limit=1G"
32+
},
33+
"config": {
34+
"allow-plugins": {
35+
"yiisoft/yii2-composer": true,
36+
"craftcms/plugin-installer": true
37+
}
38+
}
39+
}

0 commit comments

Comments
 (0)