Skip to content
New issue

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

only run tinyMCE code when you need to #210

Closed
sunnysideup opened this issue Jun 25, 2019 · 2 comments
Closed

only run tinyMCE code when you need to #210

sunnysideup opened this issue Jun 25, 2019 · 2 comments

Comments

@sunnysideup
Copy link

I am wondering why this code:

https://github.com/silverstripe/cwp/blob/1f7ba0c0ee566329e981cdbf1609f3c94da4aa44/_config.php

Is in the global space. Why not run that whenever an HTML editor is created?

In the past, we have also hacked this to say that if the request url starts with /admin/, we run it.

@robbieaverill
Copy link
Contributor

Closing as a duplicate of #139 =)

@sunnysideup
Copy link
Author

;-)))) sorry! I did feel a little deja vu... ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants