Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christina 8 posts 78 karma points
    Sep 23, 2020 @ 12:02
    Christina
    0

    Block List Editor style not being applied

    I created a Block List with custom Block List Editor for one of the blocks (Live editing mode enabled). I have a custom css for the editor. Everything works fine on my local environment, but when installed to a azure server the styles are not applied. I can see the css file being fetched in the Network tab in developer tools when I edit the page, but the html is rendered unstyled.

    Any ideas whats wrong?

  • Christina 8 posts 78 karma points
    Sep 23, 2020 @ 13:01
    Christina
    0

    I just realised that my css was written based on the assumption that the class "ng-scope" was being applied to the block element. But that class is not there on my azure server. I can of course just write the css so that it works both with and without ng-scope but I'm curious to why there is a difference.

Please Sign in or register to post replies

Write your reply to:

Draft