Skip to content

You can't use unsafe raw html with sketch #41

@abdullhakim-sami

Description

@abdullhakim-sami

i don't know if this is intended or not but just wanted to point it out in case someone missed it

import lustre/element as lustre_element


lustre_element.unsafe_raw_html(
                 "",
                 "div",
                 [attribute.class("editor")],
                 "",
               ),
             ]),

when you try to use the import from sketch insted

import sketch/lustre/element.{type Element}
 element.unsafe_raw_html(
                  "",
                  "div",
                  [attribute.class("editor")],
                  "",
                ),


Unknown module value

The module `sketch/lustre/element` does not have a `unsafe_raw_html` value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions