This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Code writen on the fly, I still need to test it. | |
* Use at your own risk 😁 | |
*/ | |
// Register the block with WordPress | |
registerBlockType('my-plugin/my-block', { | |
title: 'My Block', | |
icon: 'book', | |
category: 'common', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Code Generated by an AI | |
* Never tested in production, the goal is to store it as Gist before I can try this in a real web project. | |
*/ | |
class FormDataStore { | |
// Constructor function to set up the data store | |
constructor() { | |
this.data = {}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name atticus.io - 21/02/2024 12:31:00 | |
@version 2.0.0 | |
@description A user style for app.atticus.io | |
@author Geoffrey Crofte | |
==/UserStyle== */ | |
.atticus-editor-container .editor-area .editor-textarea { | |
max-width: 80ch; | |
margin-inline: auto; |
OlderNewer