EntryInstructions icon indicating copy to clipboard operation
EntryInstructions copied to clipboard

Add the ability to set and parse HTML/CSS

Open stuart-mccoy opened this issue 9 years ago • 3 comments

Adding the ability to set and parse HTML/CSS would be very helpful to make organizing instructions much easier. For example I would make fields H1's, p and li tags to further structure instructions, and add em and strong tags within the field descriptions to highlight things like URLs, callout naming conventions, etc.

stuart-mccoy avatar Feb 28 '15 17:02 stuart-mccoy

By default, you can write field instructions in Markdown and then they get parsed to HTML. http://cl.ly/image/432V3G2a3M1W. Is that what you're looking for?

Also, I could see adding a CSS override field at some point, similar to NSM Publish Hints.

thomasthesecond avatar Mar 01 '15 17:03 thomasthesecond

Markdown is fine (preferable even) and I was not aware it did that. I'll give it a shot.

As for the CSS, that is exactly what I was looking for. I would recommend looking at how Control Panel CSS (https://github.com/lindseydiloreto/craft-cpcss) does this. They allow you to set a link to a file (even allows {siteUrl} in the path to keep it environmentally friendly) or paste the styles into a text area field.

stuart-mccoy avatar Mar 01 '15 17:03 stuart-mccoy

Using markdown, but would like to also use some HTML. Is that possible? Mainly want to add images and links that can be opened in a new window.

daniellelecomte avatar Aug 12 '15 23:08 daniellelecomte