├── LICENSE ├── README.md ├── composer.json ├── config └── ckeditor.php ├── resources ├── assets │ ├── CHANGES.md │ ├── LICENSE.md │ ├── README.md │ ├── adapters │ │ └── jquery.js │ ├── build-config.js │ ├── ckeditor.js │ ├── config.js │ ├── contents.css │ ├── lang │ │ ├── en.js │ │ └── nl.js │ ├── plugins │ │ ├── a11yhelp │ │ │ └── dialogs │ │ │ │ ├── a11yhelp.js │ │ │ │ └── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── af.js │ │ │ │ ├── ar.js │ │ │ │ ├── bg.js │ │ │ │ ├── ca.js │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de-ch.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en-gb.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── es.js │ │ │ │ ├── et.js │ │ │ │ ├── eu.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fo.js │ │ │ │ ├── fr-ca.js │ │ │ │ ├── fr.js │ │ │ │ ├── gl.js │ │ │ │ ├── gu.js │ │ │ │ ├── he.js │ │ │ │ ├── hi.js │ │ │ │ ├── hr.js │ │ │ │ ├── hu.js │ │ │ │ ├── id.js │ │ │ │ ├── it.js │ │ │ │ ├── ja.js │ │ │ │ ├── km.js │ │ │ │ ├── ko.js │ │ │ │ ├── ku.js │ │ │ │ ├── lt.js │ │ │ │ ├── lv.js │ │ │ │ ├── mk.js │ │ │ │ ├── mn.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── pt.js │ │ │ │ ├── ro.js │ │ │ │ ├── ru.js │ │ │ │ ├── si.js │ │ │ │ ├── sk.js │ │ │ │ ├── sl.js │ │ │ │ ├── sq.js │ │ │ │ ├── sr-latn.js │ │ │ │ ├── sr.js │ │ │ │ ├── sv.js │ │ │ │ ├── th.js │ │ │ │ ├── tr.js │ │ │ │ ├── tt.js │ │ │ │ ├── ug.js │ │ │ │ ├── uk.js │ │ │ │ ├── vi.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh.js │ │ ├── about │ │ │ └── dialogs │ │ │ │ ├── about.js │ │ │ │ ├── hidpi │ │ │ │ └── logo_ckeditor.png │ │ │ │ └── logo_ckeditor.png │ │ ├── clipboard │ │ │ └── dialogs │ │ │ │ └── paste.js │ │ ├── colordialog │ │ │ └── dialogs │ │ │ │ ├── colordialog.css │ │ │ │ └── colordialog.js │ │ ├── dialog │ │ │ └── dialogDefinition.js │ │ ├── div │ │ │ └── dialogs │ │ │ │ └── div.js │ │ ├── find │ │ │ └── dialogs │ │ │ │ └── find.js │ │ ├── flash │ │ │ ├── dialogs │ │ │ │ └── flash.js │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── forms │ │ │ ├── dialogs │ │ │ │ ├── button.js │ │ │ │ ├── checkbox.js │ │ │ │ ├── form.js │ │ │ │ ├── hiddenfield.js │ │ │ │ ├── radio.js │ │ │ │ ├── select.js │ │ │ │ ├── textarea.js │ │ │ │ └── textfield.js │ │ │ └── images │ │ │ │ └── hiddenfield.gif │ │ ├── icons.png │ │ ├── icons_hidpi.png │ │ ├── iframe │ │ │ ├── dialogs │ │ │ │ └── iframe.js │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── image │ │ │ ├── dialogs │ │ │ │ └── image.js │ │ │ └── images │ │ │ │ └── noimage.png │ │ ├── link │ │ │ ├── dialogs │ │ │ │ ├── anchor.js │ │ │ │ └── link.js │ │ │ └── images │ │ │ │ ├── anchor.png │ │ │ │ └── hidpi │ │ │ │ └── anchor.png │ │ ├── liststyle │ │ │ └── dialogs │ │ │ │ └── liststyle.js │ │ ├── magicline │ │ │ └── images │ │ │ │ ├── hidpi │ │ │ │ ├── icon-rtl.png │ │ │ │ └── icon.png │ │ │ │ ├── icon-rtl.png │ │ │ │ └── icon.png │ │ ├── pagebreak │ │ │ └── images │ │ │ │ └── pagebreak.gif │ │ ├── pastefromword │ │ │ └── filter │ │ │ │ └── default.js │ │ ├── preview │ │ │ └── preview.html │ │ ├── scayt │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ └── dialogs │ │ │ │ ├── options.js │ │ │ │ └── toolbar.css │ │ ├── showblocks │ │ │ └── images │ │ │ │ ├── block_address.png │ │ │ │ ├── block_blockquote.png │ │ │ │ ├── block_div.png │ │ │ │ ├── block_h1.png │ │ │ │ ├── block_h2.png │ │ │ │ ├── block_h3.png │ │ │ │ ├── block_h4.png │ │ │ │ ├── block_h5.png │ │ │ │ ├── block_h6.png │ │ │ │ ├── block_p.png │ │ │ │ └── block_pre.png │ │ ├── smiley │ │ │ ├── dialogs │ │ │ │ └── smiley.js │ │ │ └── images │ │ │ │ ├── angel_smile.gif │ │ │ │ ├── angel_smile.png │ │ │ │ ├── angry_smile.gif │ │ │ │ ├── angry_smile.png │ │ │ │ ├── broken_heart.gif │ │ │ │ ├── broken_heart.png │ │ │ │ ├── confused_smile.gif │ │ │ │ ├── confused_smile.png │ │ │ │ ├── cry_smile.gif │ │ │ │ ├── cry_smile.png │ │ │ │ ├── devil_smile.gif │ │ │ │ ├── devil_smile.png │ │ │ │ ├── embaressed_smile.gif │ │ │ │ ├── embarrassed_smile.gif │ │ │ │ ├── embarrassed_smile.png │ │ │ │ ├── envelope.gif │ │ │ │ ├── envelope.png │ │ │ │ ├── heart.gif │ │ │ │ ├── heart.png │ │ │ │ ├── kiss.gif │ │ │ │ ├── kiss.png │ │ │ │ ├── lightbulb.gif │ │ │ │ ├── lightbulb.png │ │ │ │ ├── omg_smile.gif │ │ │ │ ├── omg_smile.png │ │ │ │ ├── regular_smile.gif │ │ │ │ ├── regular_smile.png │ │ │ │ ├── sad_smile.gif │ │ │ │ ├── sad_smile.png │ │ │ │ ├── shades_smile.gif │ │ │ │ ├── shades_smile.png │ │ │ │ ├── teeth_smile.gif │ │ │ │ ├── teeth_smile.png │ │ │ │ ├── thumbs_down.gif │ │ │ │ ├── thumbs_down.png │ │ │ │ ├── thumbs_up.gif │ │ │ │ ├── thumbs_up.png │ │ │ │ ├── tongue_smile.gif │ │ │ │ ├── tongue_smile.png │ │ │ │ ├── tounge_smile.gif │ │ │ │ ├── whatchutalkingabout_smile.gif │ │ │ │ ├── whatchutalkingabout_smile.png │ │ │ │ ├── wink_smile.gif │ │ │ │ └── wink_smile.png │ │ ├── specialchar │ │ │ └── dialogs │ │ │ │ ├── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── af.js │ │ │ │ ├── ar.js │ │ │ │ ├── bg.js │ │ │ │ ├── ca.js │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de-ch.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en-gb.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── es.js │ │ │ │ ├── et.js │ │ │ │ ├── eu.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr-ca.js │ │ │ │ ├── fr.js │ │ │ │ ├── gl.js │ │ │ │ ├── he.js │ │ │ │ ├── hr.js │ │ │ │ ├── hu.js │ │ │ │ ├── id.js │ │ │ │ ├── it.js │ │ │ │ ├── ja.js │ │ │ │ ├── km.js │ │ │ │ ├── ko.js │ │ │ │ ├── ku.js │ │ │ │ ├── lt.js │ │ │ │ ├── lv.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── pt.js │ │ │ │ ├── ru.js │ │ │ │ ├── si.js │ │ │ │ ├── sk.js │ │ │ │ ├── sl.js │ │ │ │ ├── sq.js │ │ │ │ ├── sv.js │ │ │ │ ├── th.js │ │ │ │ ├── tr.js │ │ │ │ ├── tt.js │ │ │ │ ├── ug.js │ │ │ │ ├── uk.js │ │ │ │ ├── vi.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh.js │ │ │ │ └── specialchar.js │ │ ├── table │ │ │ └── dialogs │ │ │ │ └── table.js │ │ ├── tabletools │ │ │ └── dialogs │ │ │ │ └── tableCell.js │ │ ├── templates │ │ │ ├── dialogs │ │ │ │ ├── templates.css │ │ │ │ └── templates.js │ │ │ └── templates │ │ │ │ ├── default.js │ │ │ │ └── images │ │ │ │ ├── template1.gif │ │ │ │ ├── template2.gif │ │ │ │ └── template3.gif │ │ ├── widget │ │ │ └── images │ │ │ │ └── handle.png │ │ └── wsc │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ └── dialogs │ │ │ ├── ciframe.html │ │ │ ├── tmpFrameset.html │ │ │ ├── wsc.css │ │ │ ├── wsc.js │ │ │ └── wsc_ie.js │ ├── samples │ │ ├── css │ │ │ └── samples.css │ │ ├── img │ │ │ ├── github-top.png │ │ │ ├── header-bg.png │ │ │ ├── header-separator.png │ │ │ ├── logo.png │ │ │ └── navigation-tip.png │ │ ├── index.html │ │ ├── js │ │ │ ├── sample.js │ │ │ └── sf.js │ │ ├── old │ │ │ ├── ajax.html │ │ │ ├── api.html │ │ │ ├── appendto.html │ │ │ ├── assets │ │ │ │ ├── inlineall │ │ │ │ │ └── logo.png │ │ │ │ ├── outputxhtml │ │ │ │ │ └── outputxhtml.css │ │ │ │ ├── posteddata.php │ │ │ │ ├── sample.jpg │ │ │ │ └── uilanguages │ │ │ │ │ └── languages.js │ │ │ ├── datafiltering.html │ │ │ ├── dialog │ │ │ │ ├── assets │ │ │ │ │ └── my_dialog.js │ │ │ │ └── dialog.html │ │ │ ├── divreplace.html │ │ │ ├── enterkey │ │ │ │ └── enterkey.html │ │ │ ├── htmlwriter │ │ │ │ ├── assets │ │ │ │ │ └── outputforflash │ │ │ │ │ │ ├── outputforflash.fla │ │ │ │ │ │ ├── outputforflash.swf │ │ │ │ │ │ └── swfobject.js │ │ │ │ ├── outputforflash.html │ │ │ │ └── outputhtml.html │ │ │ ├── index.html │ │ │ ├── inlineall.html │ │ │ ├── inlinebycode.html │ │ │ ├── inlinetextarea.html │ │ │ ├── jquery.html │ │ │ ├── magicline │ │ │ │ └── magicline.html │ │ │ ├── readonly.html │ │ │ ├── replacebyclass.html │ │ │ ├── replacebycode.html │ │ │ ├── sample.css │ │ │ ├── sample.js │ │ │ ├── sample_posteddata.php │ │ │ ├── tabindex.html │ │ │ ├── toolbar │ │ │ │ └── toolbar.html │ │ │ ├── uicolor.html │ │ │ ├── uilanguages.html │ │ │ ├── wysiwygarea │ │ │ │ └── fullpage.html │ │ │ └── xhtmlstyle.html │ │ └── toolbarconfigurator │ │ │ ├── css │ │ │ └── fontello.css │ │ │ ├── font │ │ │ ├── LICENSE.txt │ │ │ ├── config.json │ │ │ ├── fontello.eot │ │ │ ├── fontello.svg │ │ │ ├── fontello.ttf │ │ │ └── fontello.woff │ │ │ ├── index.html │ │ │ ├── js │ │ │ ├── abstracttoolbarmodifier.js │ │ │ ├── fulltoolbareditor.js │ │ │ ├── toolbarmodifier.js │ │ │ └── toolbartextmodifier.js │ │ │ └── lib │ │ │ └── codemirror │ │ │ ├── LICENSE │ │ │ ├── codemirror.css │ │ │ ├── codemirror.js │ │ │ ├── javascript.js │ │ │ ├── neo.css │ │ │ ├── show-hint.css │ │ │ └── show-hint.js │ ├── skins │ │ └── moono │ │ │ ├── dialog.css │ │ │ ├── dialog_ie.css │ │ │ ├── dialog_ie7.css │ │ │ ├── dialog_ie8.css │ │ │ ├── dialog_iequirks.css │ │ │ ├── editor.css │ │ │ ├── editor_gecko.css │ │ │ ├── editor_ie.css │ │ │ ├── editor_ie7.css │ │ │ ├── editor_ie8.css │ │ │ ├── editor_iequirks.css │ │ │ ├── icons.png │ │ │ ├── icons_hidpi.png │ │ │ ├── images │ │ │ ├── arrow.png │ │ │ ├── close.png │ │ │ ├── hidpi │ │ │ │ ├── close.png │ │ │ │ ├── lock-open.png │ │ │ │ ├── lock.png │ │ │ │ └── refresh.png │ │ │ ├── lock-open.png │ │ │ ├── lock.png │ │ │ ├── refresh.png │ │ │ └── spinner.gif │ │ │ └── readme.md │ └── styles.js └── views │ ├── js.blade.php │ └── upload.blade.php └── src ├── CkEditor.php ├── Http └── Controllers │ └── Images.php ├── ServiceProvider.php └── Uploads └── ImageUploader.php /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Jeroen Noten 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 13 | all 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 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Easy CKEditor integration with Laravel 5 2 | 3 | [](https://travis-ci.org/jeroennoten/laravel-ckeditor) 4 | 5 | This package provides an easy way to set up [CKEditor](http://ckeditor.com/) with Laravel 5. 6 | I think CKEditor is the best free WYSIWYG editors available. 7 | This package makes it super easy to use the editor with Laravel 5. 8 | It provides a custom blade directive `@ckeditor('textareaId')` to quickly integrate it in your forms. 9 | 10 | - [Installation](#installation) 11 | - [Updating](#updating) 12 | - [Usage](#usage) 13 | - [Configuration](#configuration) 14 | 15 | ## Installation 16 | 17 | 1. Require the package using composer: 18 | 19 | ``` 20 | composer require jeroennoten/laravel-ckeditor 21 | ``` 22 | 23 | 2. Add the service provider to the `providers` in `config/app.php`: 24 | 25 | ```php 26 | JeroenNoten\LaravelCkEditor\ServiceProvider::class, 27 | ``` 28 | 29 | 3. Publish the public assets: 30 | 31 | ``` 32 | php artisan vendor:publish --tag=ckeditor-assets 33 | ``` 34 | 35 | ## Updating 36 | 37 | 1. To update this package, first update the composer package: 38 | 39 | ``` 40 | composer update jeroennoten/laravel-ckeditor 41 | ``` 42 | 43 | 2. Then, publish the public assets with the `--force` flag to overwrite existing files 44 | 45 | ``` 46 | php artisan vendor:publish --tag=ckeditor-assets --force 47 | ``` 48 | 49 | ## Usage 50 | 51 | The package provides a custom blade directive `@ckeditor('textareaId')` that transforms a `
44 |
52 | This sample shows how tab key navigation among editor instances is
53 | affected by the tabIndex
attribute from
54 | the original page element. Use TAB key to move between the editors.
55 |
58 |
62 |
65 |
*/ include "assets/posteddata.php"; ?> 17 | -------------------------------------------------------------------------------- /resources/assets/samples/old/tabindex.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 |
8 | 9 |
10 | 11 | 12 | 22 | 42 | 43 |
78 |