Skip to content

Commit

Permalink
remove tiny version
Browse files Browse the repository at this point in the history
  • Loading branch information
artgris committed Dec 6, 2017
1 parent acd7605 commit 12ba123
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Helpers/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ public function getAttribut()
{
if ($this->fileManager->getModule()) {
$attr = '';
if ($this->getDimension()) {
$width = $this->getDimension()[0];
$height = $this->getDimension()[1];
$dimension = $this->getDimension();
if ($dimension) {
$width = $dimension[0];
$height = $dimension[1];
$attr .= "data-width=\"{$width}\" data-height=\"{$height}\" ";
}

Expand Down
4 changes: 2 additions & 2 deletions Resources/doc/tutorials/integrate-tinymce.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
How to integrate FileManagerBundle into TinyMCE (4.5.6)
=======================================================
How to integrate FileManagerBundle into TinyMCE
===============================================

Tinymce has [`file_browser_callback`](https://www.tinymce.com/docs/configure/file-image-upload/) option who enables you to add your own file or image browser to TinyMCE.

Expand Down

0 comments on commit 12ba123

Please sign in to comment.