HermanMartinus / HermanMartinus/bear-plugins

Ability for plugin to access blog's custom CSS

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
77
Forks
10
Avg merge
5d 23h
Merged PRs (30d)
1

Description

I'd like to make a plugin that adds an automatically-updating live preview that shows how a post or page will appear on your site as you write it. To make the preview match your site's theme, it would need to somehow pull your site's custom CSS. I'm not sure how to do this, as a blog's custom CSS is loaded in a <style> tag on each page, rather than a link that could be accessed from anywhere. Is there a good way to accomplish this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by examining the plugin architecture and how blog pages expose custom CSS, then determine whether a live preview can access that styling reliably. Done means documenting or implementing a clear supported approach for keeping the preview aligned with the site's custom CSS.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.