We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
On a symfony 3.4 with KMS Froala 2.9.8 i'm tring to use Twig : https://codemirror.net/mode/twig/index.html
$builder->add('twigContent', FroalaEditorType::class, array('codeMirrorOptions' => array( 'indentWithTabs' => true, 'lineNumbers' => true, 'lineWrapping' => true, 'mode'=> array('name' => "twig", 'base' => "text/html"), 'tabMode' => 'indent', 'tabSize' => 2 ) , 'label' => 'Contenu', 'attr' => array('class' => 'froalaMailTransTemplate', 'id' => 'froalaMailTransTemplate'), 'required' => false))
if i remove the code 'mode'=> array('name' => "twig", 'base' => "text/html") it's working i have HTML but no "twig" markup
'mode'=> array('name' => "twig", 'base' => "text/html")
What did i miss ?
thanks
Guldil
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
On a symfony 3.4 with KMS Froala 2.9.8 i'm tring to use Twig : https://codemirror.net/mode/twig/index.html
if i remove the code
'mode'=> array('name' => "twig", 'base' => "text/html")
it's working i have HTML but no "twig" markupWhat did i miss ?
thanks
Guldil
The text was updated successfully, but these errors were encountered: