Issue #3202Opened December 21, 2020by vbeskrovny0 reactions

Help needed: save/restore gjs data block types

Question

Hello everyone, can you please point me to the right direction?

  1. When I save the html code and css code - it gets new-line-trimmed. Is there any way to avoid any trimming?
  2. After inserting "custom code" block, saving and restoration from the remote storage it appears as either "Default" type of "text" type. How to set data-gjs-type to custom-code back?

Many thanks...

Answers (1)

vbeskrovnyDecember 21, 20200 reactions

Solved by using json content from the StorageManager.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.