FriendsOfSymfony / FOSCKEditorBundle

Provides a CKEditor integration for your Symfony project.
Other
519 stars 83 forks source link

the renderer should be usable without templating #16

Closed stof closed 6 years ago

stof commented 6 years ago

The renderTemplate implementation depends on symfony/templating, but this package is not available by default in Flex projects

kunicmarko20 commented 6 years ago

The only renderTemplate I saw was:

https://github.com/FriendsOfSymfony/FOSCKEditorBundle/blob/78fce30733b5bb45d8fea7d3b75a84e874e75116/Renderer/CKEditorRenderer.php#L136

And it is class in this repo, not symfony/templating?

stof commented 6 years ago

look at the implementation of this method. It relies on the templating component, without support for direct Twig usage.

kunicmarko20 commented 6 years ago

Ah, I saw it just now. We should just drop symfony/templating and depend on twig directly.