Hello @ikbir
If you have selected Language Label
as File Name
. on setting page. Still you have to edit the Code Block to set File Name
.
There are two conditions to check before display File Name
on Label
if Language Label
is set as File Name
and fileName
attribute is set, it will display File Name
.
if Language Label
is set as File Name
and fileName
attribute is not set, it will display Language Name
.
Because, some one not like generic file name, such as file.c
or index.php
etc. to display all other code blocks on their site. Due to this we only add generic filename on Code Block on editor and expect that user enter it manually, what he want, or he like given generic filename and save the post.
Hope you have clear understanding of the logic behind it.
Thank you.