-
Notifications
You must be signed in to change notification settings - Fork 6
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
FEE #10
Comments
So I've taken FEE out of our code, and then added compatibility via functions.php: 740ba0d |
I also had a question about the styling on the edit button - for me adding in the extra relative positioning made the Edit button look strange with the rest of the Admin bar. Is that true for you all, too? |
That's weird! Yeah I'm on master and I can see that admin-bar is being enqueued in cacsp_asset_enqueue_handler(), and the whole admin bar is showing, which seems to be covering up the button you added. And since the admin bar is visible, the "Edit Paper" button is to, but it's just positioned weirdly because of the extra styling. What do you think I'm missing here? Also, took my first shot at adding admin notices to check for FEE here: 8cd8e0e |
Good catch! I've removed the two admin bar enqueues in commit ecebb2d.
Hmm... maybe Update: I've moved the disable admin bar code to the 'wp' hook in commit 125dd06. Let me know if that works. |
Removes the WP adminbar for real this time! Addresses #10 (comment). See related commit 125dd06.
The 'wplink' plugin received some updates in WordPress 4.3, which unfortunately broke how FEE operates. This commit temporarily removes the 'wplink' plugin until FEE addresses what to do with 'wplink' for WP 4.3+. See #10.
- Add a hardcoded block in FEE to load its scripts for subscribers - Comment out 'map_meta_cap' call in register_post_type(). This was breaking a few things... See #10.
So in WordPress 4.3, FEE's floating toolbar doesn't show up when attempting to edit an "Add a block" item or when selecting some text. I've hacked FEE's JS to temporarily fix this: I'll be patching this on cdev just so our testers will have something to work with, but this needs a bit more work since the toolbar fades in and out when a button is clicked in the floating toolbar. |
Found another issue - if the floating image toolbar is visible and you click on the "X" button multiple times, this will remove parent elements from view. I have a fix for this and have added a PR for FEE here: |
By default, FEE animates the URL box on certain events. We do not want the URL box to animate, so use CSS !important declarations to counteract FEE's JS. See #10.
I've created this issue just to track what we are doing with FEE.
In commit 5635e64, we are now relying on the wp.org version of FEE:
https://wordpress.org/plugins/wp-front-end-editor/
If we need to make changes to FEE for whatever reason, mods should be made in the
CACSP_FEE
class:https://github.com/cuny-academic-commons/social-paper/blob/master/includes/class-cacsp-fee.php
CACSP_FEE
extends the mainFEE
class so we should be able to make any overrides there. I believe I've ported all the changes that we previously made to our bundled version of FEE:https://github.com/cuny-academic-commons/social-paper/commits/master/lib/wp-front-end-editor
@christianwach - I also have a question about the "Tags" button in FEE, but I'll reply in this thread:
789aa14
If anyone has any questions, let me know.
Todos:
The text was updated successfully, but these errors were encountered: