Skip to content

Cara Menampilkan CKEditor pada Input Panel Type field/content Custom? #187

Discussion options

You must be logged in to vote

Kalau sudah pakai ekstensi CKEditor sebenarnya cukup mengubah tipe bidang dari content menjadi c-k-editor saja:

[
    'type' => 'fields',
    'lot' => [
        // Sebagai area teks biasa
        0 => [
            'type' => 'content', // atau `field/content`
            'value' => 'Test value.',
            'stack' => 10
        ],
        // Sebagai area WYSIWYG
        1 => [
            'type' => 'c-k-editor.4', // atau `field/c-k-editor.4`
            'value' => 'Test value.',
            'stack' => 20
        ]
    ]
]

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@lokersumatera
Comment options

@lokersumatera
Comment options

@taufik-nurrohman
Comment options

@taufik-nurrohman
Comment options

@yuliakbard
Comment options

Answer selected by yuliakbard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
x.panel Panel extension. x.c-k-editor.4 CKEditor 4 extension.
3 participants