diff --git a/src/yafowil/widget/wysihtml5/example.py b/src/yafowil/widget/wysihtml5/example.py
index a6afcfd..8f38f4c 100644
--- a/src/yafowil/widget/wysihtml5/example.py
+++ b/src/yafowil/widget/wysihtml5/example.py
@@ -26,6 +26,27 @@
"""
+DOC_WYSIHTML5_DEPRECATION = """
+.. raw:: html
+
+
+
+
Deprecation Notice:
+ yafowil.widget.wysihtml5 is
+
+ deprecated
+
+ and will no longer receive support or further development.
+ Please use
+
+ yafowil.widget.tiptap
+
+ instead.
+
+"""
+
+
def get_example():
ex1 = factory(u'fieldset', name='yafowil_wysihtml5')
ex1['text'] = factory('#field:wysihtml5', props={
@@ -44,6 +65,7 @@ def get_example():
})
return [{
'widget': ex1,
- 'doc': DOC_WYSIHTML5,
+ 'doc': DOC_WYSIHTML5 if factory.theme != 'bootstrap5'
+ else DOC_WYSIHTML5_DEPRECATION + DOC_WYSIHTML5,
'title': 'wysihtml5 Field',
}]