improved textarea normal editor mode, not just vim

This commit is contained in:
Priec
2025-08-17 18:35:51 +02:00
parent b9a7f9a03f
commit 25b54afff4
8 changed files with 59 additions and 58 deletions

View File

@@ -53,10 +53,19 @@ impl<D: DataProvider> FormEditor<D> {
{
let mut editor = editor;
editor.initialize_validation();
#[cfg(feature = "cursor-style")]
{
let _ = CursorManager::update_for_mode(editor.ui_state.current_mode);
}
editor
}
#[cfg(not(feature = "validation"))]
{
#[cfg(feature = "cursor-style")]
{
let _ = CursorManager::update_for_mode(editor.ui_state.current_mode);
}
editor
}
}