richtext::ckeditor5::get_tag (public)

 richtext::ckeditor5::get_tag [ -options options ]

Defined in packages/richtext-ckeditor5/tcl/richtext-procs.tcl

Return the tag for rendering

Switches:
-options (optional)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
        #
        # For the time being, determine the tag just from the options
        # and no other sources.
        #
        #ns_log notice "=== get_tag $options"

        if {[dict exists $options editor]
            && [dict get $options editor] eq "ckeditor5"
            && [dict exists $options JSEditorClass]
            && [dict get $options JSEditorClass] ne "ClassicEditor"
        } {
            set edit_item_tag div
        } else {
            set edit_item_tag textarea
        }
        return $edit_item_tag
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: