public function enqueueAssets()
    {
        $data = $this->getData();

        if (isset($data['editor']))
        {
            // Tell the TinyMCE editor to use a custom stylesheet
            add_editor_style($data['editor']);
        }

        if (isset($data['styles']))
        {
            foreach ($data['styles'] as $handle => $props)
            {
                $this->handleStyleAction('enqueue', $handle, $props);
            }
        }

        if (isset($data['scripts']))
        {
            foreach ($data['scripts'] as $handle => $props)
            {
                $this->handleScriptAction('enqueue', $handle, $props);
            }
        }
    }