diff --git a/web_widget_model_viewer/README.rst b/web_widget_model_viewer/README.rst index 308e0f5f9..aa786a689 100644 --- a/web_widget_model_viewer/README.rst +++ b/web_widget_model_viewer/README.rst @@ -49,7 +49,7 @@ Many engine developers have already started transitioning to glTF 2.0 to reap pe Usage ===== -Add ``widget="model_viewer"`` to your binary field in form view. Optionally you can set ``height`` and ``width`` attributes. +Add ``widget="model_viewer"`` to your binary field in form view. Optionally you can set ``style`` and ``max_upload_size`` (in MB) attributes. Changelog ========= diff --git a/web_widget_model_viewer/static/description/index.html b/web_widget_model_viewer/static/description/index.html index 2a7cbce64..9edbdffa0 100644 --- a/web_widget_model_viewer/static/description/index.html +++ b/web_widget_model_viewer/static/description/index.html @@ -401,7 +401,7 @@ ul.auto-toc {

Usage

-

Add widget="model_viewer" to your binary field in form view. Optionally you can set height and width attributes.

+

Add widget="model_viewer" to your binary field in form view. Optionally you can set style and max_upload_size (in MB) attributes.

Changelog