diff --git a/app/views/text_widget/details.html.haml b/app/views/text_widget/details.html.haml
new file mode 100644
index 000000000..c134a9d2a
--- /dev/null
+++ b/app/views/text_widget/details.html.haml
@@ -0,0 +1,3 @@
+= scrivito_small_dialog do
+ = scrivito_details_for 'Anchor' do
+ = scrivito_tag(:div, widget, :anchor)
diff --git a/app/views/text_widget/show.html.haml b/app/views/text_widget/show.html.haml
index e7847111d..26cf18921 100644
--- a/app/views/text_widget/show.html.haml
+++ b/app/views/text_widget/show.html.haml
@@ -1 +1,5 @@
+- if widget.respond_to? :anchor
+ .text-anchor{id: "#{widget.anchor}"}
+- else
+ .text-anchor
= scrivito_tag :div, widget, :text