Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bert Oost committed Jul 12, 2018
2 parents 7218737 + 945bd1c commit 7c0a26c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
22 changes: 8 additions & 14 deletions FroalaEditorPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,27 @@ public function getName()
}

/**
* {@inheritdoc}
* @return boolean|string
*/
public function getVersion()
public function getEditorVersion()
{
return '2.8.1.1';
return '2.8.1';
}

/**
* {@inheritdoc}
*/
public function getSchemaVersion()
public function getVersion()
{
return $this->getVersion();
return $this->getEditorVersion() . '.2';
}

/**
* @return boolean|string
* {@inheritdoc}
*/
public function getEditorVersion()
public function getSchemaVersion()
{
$version = $this->getVersion();
if (false !== ($basePos = strpos($version, '-'))) {
$version = substr($version, 0, $basePos);
}

return $version;

return $this->getVersion();
}

/**
Expand Down
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[
{
"version": "2.8.1.2",
"downloadUrl": "https://github.com/froala/Craft-Froala-WYSIWYG/archive/v2.8.1.2.zip",
"date": "2018-07-12T10:35:00+02:00",
"notes": [
"[Fixed] Issue regarding loading the right Froala library based on the version number."
]
},
{
"version": "2.8.1.1",
"downloadUrl": "https://github.com/froala/Craft-Froala-WYSIWYG/archive/v2.8.1.1.zip",
Expand Down

0 comments on commit 7c0a26c

Please sign in to comment.