Skip to content

Commit

Permalink
add constants for enter pressed js action (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorveremsky authored and stefanneculai committed Jul 30, 2018
1 parent 5a8458d commit d88ae64
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/FroalaEditorAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@
*/
class FroalaEditorAsset extends AssetBundle
{
/**
/**
* Constants for enter pressed action
*
* @see https://www.froala.com/wysiwyg-editor/examples/enter
*/
const ENTER_P = 0; // default
const ENTER_DIV = 1;
const ENTER_BR = 2;

/**
* @var string
*/
public $sourcePath = '@vendor/froala/wysiwyg-editor';
Expand Down

0 comments on commit d88ae64

Please sign in to comment.