Gutenberg: apply CSS/JS to blocks when editing?

3457 Technical Answers 40

I have a theme that uses some absolute and fixed positioning to manipulate the positioning of certain elements. For example, there is a sidebar (on desktop screen size) located to the left of the main viewport (refer to the link below for a similar example).

I want to be able to apply CSS and Javascript to elements when using the block editor.

Comments

Add comment
  • Comment list is empty

Contact Us

020-2206-9892

QQ咨询:1025174874

E-mail: info@361sale.com

Working hours: Monday to Friday, 9:30-18:30, holidays off

Customer Service