File tree 4 files changed +5
-10
lines changed
4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change
1
+ ### 1.0.5 Apr 26, 2024
2
+ - Removed heading from Plugin settings page
3
+ - Removed unnecessary CSS code
1
4
### 1.0.4
2
5
- Abstracting css out to styles.css
3
6
### 1.0.3
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export default class LinkMagicPlugin extends Plugin {
9
9
settings : PluginSettings ;
10
10
11
11
async onload ( ) {
12
- console . log ( 'Loading plugin' )
13
12
await this . loadSettings ( ) ;
14
13
15
14
this . addSettingTab ( new SettingTab ( this . app , this ) ) ;
@@ -111,13 +110,11 @@ class SettingTab extends PluginSettingTab {
111
110
const { containerEl } = this ;
112
111
113
112
containerEl . empty ( ) ;
114
- containerEl . createEl ( "h2" , { text : "LinkMagic Settings" , cls : "default__margin" } ) ;
115
113
116
114
let settingName = ""
117
115
new Setting ( containerEl )
118
116
. setName ( 'Add a new rule' )
119
117
. addText ( ( text ) => {
120
- text . inputEl . classList . add ( "default__margin" )
121
118
text . setPlaceholder ( "Rule Name" ) . onChange ( ( value ) => {
122
119
settingName = value ;
123
120
} ) ;
@@ -142,7 +139,6 @@ class SettingTab extends PluginSettingTab {
142
139
new Setting ( containerEl )
143
140
. setName ( key )
144
141
. addText ( ( text ) => {
145
- text . inputEl . classList . add ( "default__margin" )
146
142
text
147
143
. setPlaceholder ( "Pattern" )
148
144
. setValue ( this . plugin . settings [ key ] . pattern )
@@ -152,7 +148,6 @@ class SettingTab extends PluginSettingTab {
152
148
} ) ;
153
149
} )
154
150
. addText ( ( text ) => {
155
- text . inputEl . classList . add ( "default__margin" )
156
151
text
157
152
. setPlaceholder ( "Link" )
158
153
. setValue ( this . plugin . settings [ key ] . link )
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " link-magic" ,
3
3
"name" : " LinkMagic" ,
4
- "version" : " 1.0.4 " ,
4
+ "version" : " 1.0.5 " ,
5
5
"minAppVersion" : " 0.15.0" ,
6
6
"description" : " Automatically adds links to defined regex." ,
7
7
"author" : " Andrew Reifman" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,4 @@ available in the app when your plugin is enabled.
5
5
6
6
If your plugin does not need CSS, delete this file.
7
7
8
- */
9
- .default__margin {
10
- margin-right : 6px ;
11
- }
8
+ */
You can’t perform that action at this time.
0 commit comments