diff --git a/src/cosmic_edit.rs b/src/cosmic_edit.rs
index 0737f9b47042283ecb3bb32495bcf6aa1c009d4b..d6c324e2e2f5adabc372772e6b917296698d2ee8 100644
--- a/src/cosmic_edit.rs
+++ b/src/cosmic_edit.rs
@@ -25,7 +25,7 @@ impl Default for CosmicTextAlign {
 
 /// Tag component to disable writing to a [`CosmicBuffer`]
 // TODO: Code example
-#[derive(Component)]
+#[derive(Component, Default)]
 pub struct ReadOnly; // tag component
 
 /// Internal value used to decide what section of a [`Buffer`] to render
diff --git a/src/user_select.rs b/src/user_select.rs
index 4569397c51a0a5fb449c1cd7289aef8c6207be78..7dcd8fd29e1626404dce81ef732f2c2b5442c0e8 100644
--- a/src/user_select.rs
+++ b/src/user_select.rs
@@ -11,7 +11,7 @@ impl Plugin for UserSelectPlugin {
 
 /// Tag component to disable user selection
 /// Like CSS `user-select: none` https://developer.mozilla.org/en-US/docs/Web/CSS/user-select
-#[derive(Component)]
+#[derive(Component, Default)]
 pub struct UserSelectNone;
 
 fn clear_selection(mut q: Query<&mut CosmicEditor, With<UserSelectNone>>) {