pressbooks / pressbooks-book

McLuhan is the default book theme for Pressbooks.
https://pressbooks.org
GNU General Public License v3.0
20 stars 16 forks source link

Textboxes are being displayed unformatted in the editor, even though they appear formatted correctly in the chapter. #231

Closed beckej13820 closed 6 years ago

beckej13820 commented 6 years ago

Prerequisites [x] Can you reproduce the behavior you wish to address with all other plugins deactivated? [x] Are you running the latest version of Pressbooks and the latest version of WordPress? [x] Are you experiencing this issue with one of our built-in root or book themes? [x] Did you perform a cursory search to see if your bug or enhancement is already listed?

Description Textboxes are being displayed unformatted in the editor, even though they appear formatted correctly in the chapter.

Since upgrading to the latest version of McLuhan, new textboxes are not appearing formatted in the editor as they have previously. Textboxes made before the upgrade still appear formatted, it's only the new textboxes that seem to be changed.

This screenshot shows two textboxes, one from before the upgrade that shows formatting, a new one that only appears as black and white. screen shot 2018-07-06 at 3 47 14 pm

When you go to the chapter, all textboxes appear formatted. screen shot 2018-07-06 at 3 49 40 pm

Steps to Reproduce Add a new textbox after upgrading to the latest version. Confirm that even though it doesn't show formatting in the TinyMCE, it does format correctly in the final book. Expected behavior: Formatting should appear in both places, as it has in the past.

Actual behavior: isn't working.

System Information System Information Book Info Book ID: 13 Book URL: http://oer.ed-beck.com/instructionaldesign/ Book Privacy: Public

Browser Platform: OS X Browser Name: Chrome Browser Version: 67.0.3396.99 User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

WordPress Configuration Network URL: http://oer.ed-beck.com/ Network Type: Subdirectory Version: 4.9.7 Language: en_US WP_ENV: production WP_DEBUG: Disabled Memory Limit: 5000M

Pressbooks Configuration Version: 5.4.0 Book Theme: McLuhan Book Theme Version: 2.4.0 Root Theme: Aldine Root Theme Version: 1.4.0

Pressbooks Dependencies Epubcheck: Installed Kindlegen: Installed xmllint: Installed PrinceXML: Installed Saxon-HE: Installed

Must-Use Plugins hm-autoloader.php: n/a

Network Active Plugins GitHub Updater: 8.1.2 Openstax Import for Pressbooks: 1.2.1 Pressbooks: 5.4.0 Pressbooks LTI Provider: 0.4.3 Pressbooks Stats: 1.4.1

Book Active Plugins H5P: 1.10.3

Inactive Plugins Akismet Anti-Spam: 4.0.8 Candela Links: 0.1 Candela LTI: 0.1 Candela Thin Exports: 0.1 CC Export for Pressbooks: 0.2.2 Hello Dolly: 1.6 Hypothesis: 0.5.0 LTI: 0.1 Textbooks for Pressbooks: 4.1.0 WP QuickLaTeX: 3.8.4 Wp Show Site ID: 1.0.1

Server Configuration PHP Version: 7.0.30-0ubuntu0.16.04.1 MySQL Version: 5.7.22 Webserver Info: Apache/2.4.18 (Ubuntu)

PHP Configuration Safe Mode: Disabled Memory Limit: 5000M Upload Max Size: 2000M Post Max Size: 2000M Upload Max Filesize: 2000M Time Limit: 30 Max Input Vars: 1000 URL-aware fopen: On (1) Display Errors: N/A

PHP Extensions OPcache: Zend XDebug: Disabled cURL: Supported cURL Version: 7.47.0 imagick: Installed xsl: Installed

beckej13820 commented 6 years ago

I don't know if this is the same problem, or just a very similar related problem. In another book, which is a cloned version of Rebus' Making Textbooks with Students, some of the textboxes there are showing up as plain text in the actual book, but not showing up marked up in the editor. (see screenshots).

This is the exact opposite of the original bug report.

screen shot 2018-07-11 at 10 07 42 am

screen shot 2018-07-11 at 10 08 02 am

greatislander commented 6 years ago

@beckej13820 In the latter case, which theme are you using?

beckej13820 commented 6 years ago

I apologize, that's the broken opentextbook theme from BC... That's why...

greatislander commented 6 years ago

Okay got it, thank you.

bdolor commented 6 years ago

@beckej13820 there are new releases https://github.com/BCcampus/pressbooks-textbook/releases that will take care of https://github.com/pressbooks/pressbooks-book/issues/231#issuecomment-404184022

ghost commented 6 years ago

This issue was moved by greatislander to pressbooks/pressbooks#1278.

greatislander commented 6 years ago

@beckej13820 This needs to be fixed in the plugin, not the theme, so I've moved the issue there.