-
Notifications
You must be signed in to change notification settings - Fork 85
Content not editable when using wp_editor() for comment textarea #74
Comments
Thanks for the report, I'll try the plugin. Though one of the things I'd like to do in the future is make comments editable as well. On 19 Apr 2014, at 13:52, Christian Wach [email protected] wrote:
|
Thanks for looking into the issue! |
I don't want to jump to conclusions, but presumably there's a conflict when there is already a TinyMCE instance present on the front end. I assume there ought to be a way to make sure that the instances don't conflict. Hope you can figure out how :-) |
I don't think this will work with different TinyMCE configs... I solved one problem, but created a few others... :/ |
Thanks for responding. I'll take a look myself at some point and check if I can see any way forward. |
@avryl I realise this issue is closed, but I'd like to reopen it as it would be great to have this plugin work when there are other instances of TinyMCE present on the front end. A few months down the line, do you have any further thoughts on whether this is possible - or is it a pipe dream? Cheers, Christian |
Actually this should be possible. Sorry that I closed this. :) |
Thanks for reopening and responding. It would be great to have multiple instances co-exist. Do you have any sort of roadmap/timescale? |
Hm. It's difficult to make promises about that and keep it. :) |
I'm figuring out the whole rewrite right now. |
Understood 😄 |
Hi @christianwach and @avryl - As promised, I've managed to look at this a little bit. I think there are a number of things happening here, but one of them is that when another plugin uses Not sure if this is the "right" way around it, but I managed to get FEE to load properly in this kind of environment by using There are further issues on the page even with this fix, but I think they might be due to the other plugin (http://wordpress.org/plugins/commentpress-core/). I'll have to investigate that more. |
@boonebgorges Thanks for this - your changes do seem to fix loading wp-fee's TinyMCE plugins. It looks like wp-core may need a patch to fix the 404 I get for the AJAX spinner, which is defined with a relative path: FYI, the way CommentPress works with TinyMCE is to load it once via a standard |
@avryl @boonebgorges Just a quick note to update you both on the issue of multisite loading... Boone: your amends did indeed load wp-fee's TinyMCE plugins, but I cannot get any of the TinyMCE "toolbars" to appear when - for example - I highlight some text. Janneke: it seems that the version of wp-fee in the WordPress plugin directory loads fine in WP multisite, but this repo on Github seems not to be updated with the code in 1.0.0-beta1.2. I'd like to ask that the plugin loads into a global variable, so that it's hooks can be addressed - it's really complex to address anonymous objects! |
My plugin/theme combination uses
wp_editor()
to enable TinyMCE on the comments textarea. This makes WordPress Front-end Editor fail to show any editing buttons, the content itself cannot be edited and the Update button does not save changes.When I switch off
wp_editor()
for comments, the content becomes editable and things work as expected. The plugin/theme can be found at:http://wordpress.org/plugins/commentpress-core/
It'd be great if you could look into this.
Many thanks,
Christian
The text was updated successfully, but these errors were encountered: