Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Bookstore theme breaks WYSIWYG

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2355 Views
  • noizy
    Avatar
    Community Member
    25 Posts

    Bookstore theme breaks WYSIWYG Link to this post

    I've just installed the Bookstore theme on a 2.2.1 site I'm setting up, and it looks great, but...

    ...it's broken the WYSIWYG.

    In Firefox, the first paragraph of any text inputted appears correctly, but as soon as I put a carriage return, any subsequent text just disappears. It's still there if I pop open the HTML, and there's nothing obvious in the CSS that should be causing it to vanish, but, well, it is.

    And in IE, I can't even edit the text, when I click on the WYSIWYG area, the whole editor gets selected (a bounding box is created on the border), and any clicks on the editor just cause the WYSIWYG editor to grow down the page.

    I assume there's something weird going on in the CSS, but whatever it is eludes me. (Switching back to blackcandy fixes all these problems, incidentally). Anyone out there with a bit more nous got time to take quick look?

    Short of figuring out what is wrong with the bookstore CSS, is it possible to use one theme for the admin area, and another for the live site?

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Bookstore theme breaks WYSIWYG Link to this post

    The typography.css file in the theme will be causing the trouble.

    Move everything from typography.css into one of the other CSS files, and your CMS will be unstyled.

    That should fix the problem.

  • noizy
    Avatar
    Community Member
    25 Posts

    Re: Bookstore theme breaks WYSIWYG Link to this post

    that's the trick. cheers sam.

  • Wojtek
    Avatar
    Community Member
    149 Posts

    Re: Bookstore theme breaks WYSIWYG Link to this post

    I would correct this issue in the next release, but unfortunately I have no possibility to update the theme - the theme loader still doesn't work

    2355 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.