Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
esledov committed Sep 9, 2017
0 parents commit 815ee4c
Show file tree
Hide file tree
Showing 323 changed files with 57,154 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Sledov\Quill;

use Illuminate\Contracts\Events\Dispatcher;

return function (Dispatcher $events) {
$events->subscribe(Listener\AddClientAssets::class);
$events->subscribe(Listener\FormatHtml::class);
};

31 changes: 31 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "sledov/flarum-ext-quill",
"keywords": ["flarum","wysiwyg","quill"],
"version": "0.1.0",
"description": "Quill WYSIWYG editor for Flarum",
"type": "flarum-extension",
"license": "MIT",
"authors": [
{
"name": "Egor Sledov",
"email": "egor@sledov.com"
}
],
"require": {
"flarum/core": "^0.1.0-beta.7"
},
"extra": {
"flarum-extension": {
"title": "Quill Editor",
"icon": {
"image": "icon.svg",
"backgroundColor": "#1d92c9"
}
}
},
"autoload": {
"psr-4": {
"Sledov\\Quill\\": "src/"
}
}
}
13 changes: 13 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions js/forum/Gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
var flarum = require('flarum-gulp');

flarum({
files: [
'library/quill.js'
],
modules: {
'sledov/quill': [
'src/**/*.js'
]
}
});
6 changes: 6 additions & 0 deletions js/forum/bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "flarum-tags-admin",
"devDependencies": {
"quill": "1.3.0"
}
}
Loading

0 comments on commit 815ee4c

Please sign in to comment.