diff --git a/src/FroalaEditorAsset.php b/src/FroalaEditorAsset.php index 6a75f18..6466696 100644 --- a/src/FroalaEditorAsset.php +++ b/src/FroalaEditorAsset.php @@ -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';